CreateFunctionCallBack - allows to create callback function

You must create your callback windows functions for C (c++, c#) manually. Why? CreateFunctionCallBack will generate it automatically with adding all identifiers of this dialog using your resource.rc file! You will need just add your code for your events. Allows to save your time and to work with the comfort. Create the dialog windows fast and easy! All you need is MS Word. Run MS Word and open resource.rc file. Then open callback.doc file and copy the text of your resource file to this document.

1.gif (4988 bytes)

Then click on the "CreateFunctionCallBack" button. Alternatively you can run "CreateFunctionCallBack" macro. Then enter the dialog name in dialog window.

2.gif (2598 bytes)

The work is done!

3.gif (2747 bytes)

 

Output

BOOL CALLBACK IDD_DIAL1_Proc(HWND dlg, UINT msg, WPARAM wParam, LPARAM lParam) {

     switch(msg) {

           case WM_INITDIALOG:

               return TRUE;

        case WM_COMMAND:

             switch(LOWORD(wParam)) {

case IDCANCEL: 

{

// Add your code here ...

EndDialog(dlg, IDOK); return TRUE;

 }

case IDC_BUTTON1: 

{

// Add your code here ...

EndDialog(dlg, IDOK); return TRUE;

 }

case IDC_BUTTON2: 

{

// Add your code here ...

EndDialog(dlg, IDOK); return TRUE;

 }

case IDC_BUTTON3: 

{

// Add your code here ...

EndDialog(dlg, IDOK); return TRUE;

 } return TRUE;

}

return FALSE;

case WM_CLOSE:

EndDialog(dlg, IDOK);

 return TRUE;

}

return FALSE;

 }

Just paste your callback function to your Visual C project.

Main requirements

Windows 95 or later and MS Word 2000 or later.

Order 

$37.00

Buy CreateFunctionCallBack

More Software