You are not logged in. You can browse in the PowerBASIC Community, but you must click Login (top right) before you can post. If this is your first visit, check out the FAQ or Sign Up.
The PBNOTE.BAS example that came with PB/DLL 5.0 is an MDI that shows
the same client edge. In addition the child windows also have the same
client edge, so when you maximize the child, you see double edge'ing.
In the past I made my own MDI using Parent/client and child windows. In
my code adding the clientedge style to my client(only border) window gives
this effect.
Since the skeleton doesn't have a MDI client window, there is no sunken border in the main window, solutions for this are...
1. Create a static window and use that (%WS_EX_CLIENTEDGE)
2. DrawEdge using %EDGE_SUNKEN
In both these techniques, you must calculate main height of toolbar and status bar, hence creating the main window with %WS_EX_CLIENTEDGE won't look correct.
Don't understand. Are we talking MDI dialogs? In that case, maybe because
in MDI32.INC, client is created with %WS_EX_CLIENTEDGE style. Had to remove
that one by hand for an MDI-based Word Processor I'm working on.
WS_OVERLAPPEDWINDOW gives correct look for me in main app's, otherwise
WS_CAPTION OR WS_SYSMENU usually is enough. For dialogs, that is.
Hm, what is "incorrect" in skeleton sample?
Guys --
What's necessary to do to have the same side borders as most windows have (PB/IDE, Imagine, Word and so on) - looks like CLIENTEDGE.
I even took SpyXX and copied style/exstyle as hexadimal values.
But my SDK window looks like in "incorrect" skeleton sample.
I have impression that such effect could be due to additional WS_EX_CLIENTEDGE child window in cental part.
Hope that it so not so.
[This message has been edited by Semen Matusovski (edited October 11, 2001).]
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, and to analyze site activity. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Leave a comment: