Relative Content

Tag Archive for winapi

How do I resize win32 label

HWND hwndLabel = CreateWindowEx( 0, “STATIC”, “hello”, WS_CHILD | WS_VISIBLE, 200, 200, 600, 600, hWnd, 404, hand, NULL ); I adjusted the width and height properties of the label to set the size but when I run the label it’s still the same size, it doesn’t change anything. Help me HWND hwndLabel = CreateWindowEx( 0, […]

SHQueryUserNotificationState problem with Virtual Desktop

I have a desktop background type of application that I am trying to make work properly with Windows 10+ virtual desktops. When changing the virtual desktop I begin to encounter strange repaint behaviour and even the taskbar had issues drawing depending on the configuration of open windows on the desktop.

Message sent when all controls created/ready

For a dialog created from resource, used as a main form and containing only buttons, which message (if any) signifies all buttons/controls have been created (drawn and ready)? Neither WM_INITDIALOG, nor WM_ACTIVATE do that.