Problem with with Data Dialog Window
Posted: Sat Dec 21, 2019 1:49 pm
Hi, I entered the following code into my Data Dialog windows' POSTINIT method:
method PostInit(oWindow,iCtlID,oServer,uExtra) class MainMenu
//Put your PostInit additions here
self:SetStyle(WS_CAPTION,FALSE)
self:EnableSystemMenu(.f.)
self:EnableStatusBar(.f.)
self:EnableBorder(WINDOWNOBORDER)
// SetWindowPos( self:Handle(), 0, 0, 0, 0, 0, _or (SWP_NOMOVE ,SWP_NOSIZE))
return nil
To remove the entire caption bar at the top. Thats worked, but what's with the light gray area at the bottom and right margin? I've experimented with the window size, position of buttons etc, the screen changes in layout as per my changes, but those areas always remain exactly the same. See screenshot below:
Thanks again folks.
method PostInit(oWindow,iCtlID,oServer,uExtra) class MainMenu
//Put your PostInit additions here
self:SetStyle(WS_CAPTION,FALSE)
self:EnableSystemMenu(.f.)
self:EnableStatusBar(.f.)
self:EnableBorder(WINDOWNOBORDER)
// SetWindowPos( self:Handle(), 0, 0, 0, 0, 0, _or (SWP_NOMOVE ,SWP_NOSIZE))
return nil
To remove the entire caption bar at the top. Thats worked, but what's with the light gray area at the bottom and right margin? I've experimented with the window size, position of buttons etc, the screen changes in layout as per my changes, but those areas always remain exactly the same. See screenshot below:
Thanks again folks.