What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » open a new form

open a new form
Author: Message:
allex87
Junior Member
**

Avatar
Hmmm...

Posts: 99
37 / Male / –
Joined: Jul 2003
RE: open a new form
OK... here ya go... this is a snippet from my forthcoming AdvancedN Nickname Changer plugin (still need to work a bit on it).

Put this in the parsecommand:

DialogBox(hDllInst, MAKEINTRESOURCE(IDD_DIALOG1), NULL, NickChanger);

U must have a dialog in ur resource file with the IDD_DIALOG1 id...
Also you need a dialog procedure (name would be NickChanger).

Here's a sample of a Dialog procedure:

BOOL CALLBACK NickChanger(
    HWND hwndDlg,
    UINT uMsg,
    WPARAM wParam,
    LPARAM lParam
)
{
    switch(uMsg)
    {
    case WM_INITDIALOG:
// do whatever u want when the dialog is initialized
                     break;
    case WM_CLOSE:
        DestroyWindow(hwndDlg);
        break;
    case WM_DESTROY:
// Remember to clean up after urself, after finishing...
        EndDialog(hwndDlg, wParam);
        break;
    default:
        return FALSE;
    }
return TRUE;
}

There... now.. if u progrram in MFC, I am truly sorry, I can't help.. actually, like i've said, I want to learn, I just didn't find a GOOD tutorial that explains everything... :(
[Image: signature.gif]
07-08-2003 09:00 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
open a new form - by Bamboe on 07-07-2003 at 10:21 PM
RE: open a new form - by Predatory Kangaroo on 07-08-2003 at 02:58 AM
RE: open a new form - by allex87 on 07-08-2003 at 03:10 AM
RE: open a new form - by Bamboe on 07-08-2003 at 12:04 PM
RE: open a new form - by trax on 07-08-2003 at 12:53 PM
RE: open a new form - by Xerxis on 07-08-2003 at 01:18 PM
RE: open a new form - by Bamboe on 07-08-2003 at 08:20 PM
RE: open a new form - by allex87 on 07-08-2003 at 09:00 PM
RE: open a new form - by Whacko on 07-08-2003 at 09:20 PM
RE: open a new form - by SilenceTi on 07-08-2003 at 10:33 PM
RE: open a new form - by Bamboe on 07-09-2003 at 07:16 AM
RE: open a new form - by Bamboe on 07-09-2003 at 03:36 PM
RE: open a new form - by n3tfusiOn on 07-10-2003 at 04:56 PM
RE: open a new form - by Bamboe on 07-10-2003 at 06:21 PM
RE: RE: open a new form - by n3tfusiOn on 07-10-2003 at 07:16 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On