I am trying to figure out how to get icons in dialog boxes like QueryWinL and AlertWin. Can anyone tell me how to do this? I've seen this done in the API examples, but I can't locate the code that is doing it. This is the code I have right now to display an alert box:

TBuf<256> line1Buf, line2Buf;
line1Buf.Copy(_L("Line 1"));
line2Buf.Copy(_L("Line 2"));
CEikonEnv::Static()->AlertWin(line1Buf, line2Buf);

Also, if there is a better way to display these dialog boxes then please let me know that too.

Thanks for your help!