compiler & icon
Verfasst: 08.06.2024 20:12
Hello,
how can I change the icon in the window that the compiler uses?
Thank you.
how can I change the icon in the window that the compiler uses?
Thank you.
Code: Alles auswählen
EnableExplicit
Define hIcon = LoadIcon_(0, #IDI_ASTERISK)
If OpenWindow(0, 0, 0, 500, 400, "Window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
SendMessage_(WindowID(0), #WM_SETICON, 0, hIcon)
Repeat
Select WaitWindowEvent()
Case #PB_Event_CloseWindow
End
EndSelect
ForEver
EndIf