Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is an EVENT_WINSIZE always queued when a new window is created?

queued window
0
Posted

Is an EVENT_WINSIZE always queued when a new window is created?

0

Yes. Also, whenever the user changes the window size. If you care about the size of a window, you can fetch the size of the window using GetClientRect() if you want the size in pixels, or MaxRow() and MaxCol() if you want the size in (fixed-width font) characters. You will also get an EVENT_REDRAW after the EVENT_WINSIZE. Can I use a resource compiler? Yes, if you have it. You can use a .rc file to load dialogs, icons, bitmaps, cursors and any other resources at run-time. However, unless you are using MDI (or RegisterClass() with a window procedure) you should use Clip-4-Win menu functions, as these are integrated with Clipper (the resource compiler does not allow a code block to be specified with a menu). A resource compiler and visual designer are included in the optional Clip-4-Win Toolkit. Using a menu from a resource file means you must have a window procedure to handle the WM_COMMAND message. Can I use an icon editor? Yes. A shareware one is included (in icondrw.zip). Can I use a

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123