PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

whats wrong with this

Hi - I have a dialog box showing and I want to use the SIP on it. I use togglefullscreen before I bring up the dialog and I can see the SIP but I can't use it. Here's how I call my dialog procedure:

DialogBox(m_config.hInstance, MAKEINTRESOURCE(IDD_DIALOG1), m_hWnd, MyDialogProc);

I'm guessing it has something to do with the window handle or instance I'm using? The dialog is POPUP style and I also specified CONTROL on the more styles tab.