I'm making an install wizard and want to put a bitmap on the left side of the property sheet. I'm using the wizard implementation of Property Sheet not the tabs. Using the code below I'm able to get the image displayed but it always shows up on the right side of the property sheet. I tried using MoveWindow to move it but it just crashes. Now, I found some code in another EE post (http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_10072471.html
) that I believe is working to move the property sheet to the right. Now, how can I move my picture to the left? I'm doing it this way to avoid the flash that happens when I put the static image on each property page. Good examples please I'm kind of new to this.
BOOL bResult = CPropertySheet::OnInitDial
SetWindowPos(NULL, 0, 0,
rectWnd.Width() + 150,
SWP_NOZORDER | SWP_NOACTIVATE);
m_picture.CreateEx( WS_EX_CLIENTEDGE, _T("STATIC"), _T("#135"),
SS_BITMAP | WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER,
rectWnd.Width(), 20, 80, 24, m_hWnd, 0, 0 );
I can upload the code that I have so far to a server if that would help somebody help me.