Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hi Gintaras,
I just started playing with the SetWinStyle power and am really amazed. Is there something similar for Button style -
I have tried playing around with Sendmessage BM_SETSTATE type messages but haven't quite cracked the code yet. Do you have any examples?
Button styles, like BS_FLAT, are window styles, and probably can be changed with SetWinStyle.
Also there is BM_SETSTYLE message, I guess it does the same as SetWinStyle, maybe better.
BM_SETSTATE sets state, eg checked, pushed.
Function Dialog136
Copy      Help
,SendMessage id(3 hDlg) BM_SETSTATE BST_PUSHED 1
very cool. Thank you!

Forum Jump:

Users browsing this thread: 1 Guest(s)