use: AfxBeginThread(&MyThreadProc, (LPVOID)this, THREAD_PRIORITY_NORMAL); inside MyThreadProc you can add the code: CtestDlg *pTestDlg = (CtestDlg *)pParam; ... this will allow you to access any CtestDlg members.
G
Greg Rodgers
@Greg Rodgers
Posts
-
AfxBeginThread() ??? -
Add extra button to window Title BarThat's right. The way I have it set up now is that when the user clicks the minimize button, a YES/NO message box asks you if you want it minimized to the system tray. If YES it goes to the "Taskbar Notification Area", if NO it is just minimized to the taskbar. I want another button next to the minimize button that will be used to send the dialog to the "Taskbar Notification Area". rodge
-
Add extra button to window Title BarI have code to minimize my dialog to the system tray. Right now when the minimize button is pressed, the dialog prompts and asks "Minimize to the System Tray?". I would like to add an extra button to the Title Bar (just to the left of the minimize button) to control sending the dialog to the system tray. I have searched CodeProject but to no avail. rodge