Can I control the "ToolBar" parameters in my delivered Runtime package? I would like only the "status bar" to be available when the delivered package is run. I would also like to "maximize" the applications when they are opened from the shortcut that I place on the desktop of my users. I've gone thru the help section but am missing something.
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
I'm not using application framework. There are just certain fields I would like to show in delivered package of the status bar.(Message & State 1)I normally hide the toolbar in apps. Can I just select the two fields to show on status bar. Does this have to done with OPal in the apps? (Perhaps a small screen setup that runs first?) The reason I must control these items is that many of my users have small monitors and if 2 lines show up in the status bar scroll bars appear with my screens.
I have also seen a solution on Corel web site for maximizing screens(example was for version 10) by forming an ini file with [Desktop] parameters of "000001"(zero space zero...). Does this make sense to you?
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html,
social networking links, message board signature, company profile, etc.
John, here's a straight cut-n-paste from an old message I saved. The code should also be a cut and paste job for you.
The status bar in Paradox can be reduced to one line, but cannot be hidden completely. Some applications prefer not to have the status bar, however, Paradox provides no internal support for hiding or showing the status bar completely. The following codes gives the ability to do so, using some well known Windows API calls.
This code will work in 32bit versions of Paradox, regardless of the version of Paradox. The code checks the major version of the Paradox, and determines the classname from it.
Anyway, onto the code :-)
In the uses section of your form add the following:
;// check to see if we have already assigned the classname if NOT strClassName.isAssigned() then strVersion = substr (version(), 1, 1)
;// if this is version 7 or 8, then the classname is as follows. if ((strVersion = "7") or (strVersion = "8")) then strClassName = "msctls_statusbar32"
;// other versions require use to look it up. It starts with Afx... else enumDesktopWindowNames (":priv:__classnames.db")
tcWindows.open (":priv:__classnames.db") if not (tcWindows.locatePattern ( "ClassName", "Afx:..")) then tcWindows.close() return FALSE endif
;// now that we have the correct classname, proceed... lDesktopWnd = appDesktop.windowHandle()
;// find the first toolbar window lFoundWnd = FindWindowExA (lDesktopWnd, 0, strClassName, "") while (lFoundWnd <> 0)
;// if this toolbar has a child, then its the status bar. lChildWnd = GetWindow (lFoundWnd, 5) if (lChildWnd <> 0) then if (loShowStatusBar = True) then ShowWindow (lFoundWnd, 5); ;// show the status bar else ShowWindow (lFoundWnd, 0); ;// otherwise hide.. endif return TRUE endif
;// find the next toolbar window lFoundWnd = FindWindowExA (lDesktopWnd, lFoundWnd, strClassName, "")
endwhile
return FALSE endMethod
You can hide the status bar by calling it with : showStatusBar (False); or show it again by calling : showStatusBar (True); ... and checking the return code as necessary.
Conclusion
There are no side effects to calling the function to show the status bar if it is already visible, or hide it when invisible.
Feel free to modify and redistribute the code as necessary.
--------------
Hope this helps,
Mac
Mac
[i]"A king will have his way in his own hall, be it folly or wisdom."[/i] - Gandalf