Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing Tabs from tab control
#10
To set extended style:

SendMessage hwnd TCM_SETEXTENDEDSTYLE exstyle exstyle

---------------------

To set style (not extended), look what is the value of the constant and add the value in dialog definition.

For example, to add TCS_FIXEDWIDTH style:
Paste TCS_FIXEDWIDTH in QM editor and look in status bar. It shows def TCS_FIXEDWIDTH 0x0400. Undo.
Now add 0x400 in dialog definition.
If was
;3 SysTabControl32 0x54000040 0x0 0 2 266 25 ""
, make it
;3 SysTabControl32 0x54000440 0x0 0 2 266 25 ""

Easier way - use SetWinStyle. But it does not work with some styles, because these styles must be set when creating the control, and cannot be changed.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)