I am new to programming with the windows API, and I figured that what I want to do is possible, but I didn't even know what to search for to find out more about it.
More specifically, I am programming for Windows Mobile 6.5. I have created my own open file dialog because the one that is provided by the API is useless. Now I want to take the open file dialog and all of its functionality, and drop it into another project. The problem is that when I drop my resource files into another project, I get conflicting ID numbers. For example:
appears in my project, andCode:#define IDS_MENU 102
is a resource in the dialog that I am bringing in.Code:#define IDC_BROWSE 102
Short of going through and manually reassigning numbers, is there any way that I can drop this dialog into my new project and not have any conflicts? I want to just add the resource files to the project, and add:
to my command handler and be done. Is that possible?Code:case IDM_MENU_OPEN: myOpenFileDialog(); break;
Thanks in advance for any suggestions!