Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Any way to paint an opening window bright white?
#1
Probably a @Spriggsy question.

I have a window I need to use WS_THICKBORDER to put just enough border around to make it resizable. The trouble is black windows leave a small black row when you use palette 7, 63: color 0, 7: CLS to white out the window. See a screen capture here: https://qb64phoenix.com/forum/showthread...2#pid10802

So is there something made up to paint a window background with Win32 API and would doing so get rid of that ugly black row near the top?

Pete
Reply
#2
Hmmmmmmmmm..... Maybe you could look at BeginPaint and EndPaint? Never really tried just painting a window.
The noticing will continue
Reply
#3
Hmm... that looks familiar!
   
   

Doubt paint is the problem.
  724  855  599  923  575  468  400  206  147  564  878  823  652  556 bxor cross forever
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Enlarging window for older BAS programs (ie. Screen 7 mode) paulel 5 392 12-24-2025, 09:36 PM
Last Post: paulel
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 11 1,055 11-10-2025, 07:23 PM
Last Post: madscijr
  is there any way to position the inputbox$ window? madscijr 21 1,639 11-06-2025, 09:54 PM
Last Post: madscijr
  auto-detecting screen resolution for optimal window size on non-Windows systems madscijr 0 214 10-26-2025, 06:58 PM
Last Post: madscijr
  Play wav file in the background without a window on the forground Rudy M 12 1,132 09-18-2025, 07:08 PM
Last Post: Pete

Forum Jump:


Users browsing this thread: 1 Guest(s)