Author Topic: Change the color of the statusbar/window  (Read 1142 times)

TimoVJL

  • Member
  • ***
  • Posts: 328
Re: Change the color of the statusbar/window
« Reply #45 on: May 08, 2019, 08:51:18 PM »
If we include the WS_THICKFRAME style the window will have a grip.
If the parent window have that WS_THICKFRAME style.
May the source be with you

AW

  • Member
  • *****
  • Posts: 2103
  • Let's Make ASM Great Again!
Re: Change the color of the statusbar/window
« Reply #46 on: May 08, 2019, 08:56:35 PM »
If the parent window have that WS_THICKFRAME style.
I am sure it has the WS_THICKFRAME style, don't you?

TimoVJL

  • Member
  • ***
  • Posts: 328
Re: Change the color of the statusbar/window
« Reply #47 on: May 08, 2019, 09:11:18 PM »
Statusbar have 50000000h, only WS_CHILD or WS_VISIBLE
, so parent window rules, and dialog don't usually don't have WS_THICKFRAME and no grip.
May the source be with you

AW

  • Member
  • *****
  • Posts: 2103
  • Let's Make ASM Great Again!
Re: Change the color of the statusbar/window
« Reply #48 on: May 08, 2019, 09:21:15 PM »
Statusbar have 50000000h, only WS_CHILD or WS_VISIBLE
, so parent window rules, and dialog don't usually don't have WS_THICKFRAME and no grip.

There is no grip in the dialog I am talking about the example where a window was created with the WS_OVERLAPPEDWINDOW style. This where all complaints are coming from.




jj2007

  • Member
  • *****
  • Posts: 9518
  • Assembler is fun ;-)
    • MasmBasic
Re: Change the color of the statusbar/window
« Reply #49 on: May 08, 2019, 10:47:47 PM »
jj,
a couple of days ago you wrote:

"Mysteries of Windows..."

Yes, and we (José and I) solved them. Anyway, SB_SETBKCOLOR doesn't work as it should, so that's commonly called a bug.