Archive: How to show Icon on title bar using Messagebox?


How to show Icon on title bar using Messagebox?
When I use MessageBox MB_OK 'Blabla' on function oninit,
It only pop up a window like
-------------------------------------
MyAppName [X]

Blabla

[OK]
--------------------------------------
I want to add our icon right before our appliction name,
the message would be like this
-------------------------------------
[ICon]MyAppName [X]

Blabla

[OK]
--------------------------------------
I found on other funtions, it has this icon, why on oninit function doesn't have it....

Anyway to fix it, just want to keep the messagebox consistent.


I found on other funtions, it has this icon, why on oninit function doesn't have it....
Because installer's gui initialized later.

Yeah. That's what I am thinking.

I moved those code to GUIInit function , then it shows ..

good catching