Most programmers will want a customized Icon attached and part of there .EXEs Is this planned?
I hope for an icon option
No, not yet. I still didn't find out how it can be done.
Kornalius,
I'll throw in my 2 cents. Here is all it takes to load an icon in C. It loads an icon resource created in the EVT resource editor.
The icons must be loaded when processing the WM_INITDIALOG message at startup.
Does that help?
Brad
I'll throw in my 2 cents. Here is all it takes to load an icon in C. It loads an icon resource created in the EVT resource editor.
- Code:
// Load the Icons for the application
HICON hIcon = LoadIcon( hInst, MAKEINTRESOURCE( IDI_DlgApp ) );
if ( hIcon )
{
SendMessage( hDlg, WM_SETICON, WPARAM( ICON_SMALL ), LPARAM( hIcon ) );
SendMessage( hDlg, WM_SETICON, WPARAM( ICON_BIG ), LPARAM( hIcon ) );
}
The icons must be loaded when processing the WM_INITDIALOG message at startup.
Does that help?
Brad
especially if it can be embedded
Not really bmanske. He wants to be able to set the icon of the .exe file generated by PPL.
I think the icon needs to be stored within the .exe's resources. That is where the problem is.
I think the icon needs to be stored within the .exe's resources. That is where the problem is.
exactly. I feel this would be important if it could be done
I am looking around. Apparently you should be able to do it yourself with a resource editor that supports PE files. Even on the desktop. This will allow you to replace the default icon with yours.
Edit: Here try this one, it even has source code in delphi, I will analyse it and see if it's not too hard to do:
http://www.wilsonc.demon.co.uk/d6peresourceeditor.htm
Edit: Here try this one, it even has source code in delphi, I will analyse it and see if it's not too hard to do:
http://www.wilsonc.demon.co.uk/d6peresourceeditor.htm