// JP opened flex table

Click to See Complete Forum and Search --> : About Ws_tabstop


goodboyws
December 25th, 2002, 03:00 AM
MSDN¡ª¡ªKB:Windows Development
BUG: Win32s 1.25a Bug List

......
When WS_TABSTOP is passed to CreateWindow(), this forces a WS_MAXIMIZEBOX.
......


how to resolve this problem???????

mdmd
January 2nd, 2003, 12:04 AM
That's because you are using it for a normal window, not a control window. Only controls have a use for this style and it should not be used for top level widows, dialogs, etc. It should only be used for controls; for example the buttons and edit controls on a dialog.

You see the WS_MAXIMIZEBOX being applied when you specify WS_TABSTOP because they are the same value. Top level windows handle the value differently.

#define WS_TABSTOP 0x00010000L
#define WS_MAXIMIZEBOX 0x00010000L

mdmd
January 2nd, 2003, 01:52 AM
woah sorry, thats not right at all. WIN32S. If I can find my msdn archives I'll try to see if a fix is listed anywhere.

//JP added flex table