Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Win32 Dialog Functions Locations?
Time to show more of my ignorance:
I can't find this in my tutorials or on line.
Why can't I make and call a function in a Windows procedure?
Or perhaps, where can I place the function such that all the members can use it?
I have ID_LOAD, ID_UPDATE and ID_SAVE as cases under my WM_COMMAND switch in my strProc() procdure which opens a dialog window.
I would like to run the same routine in all three instances. Where would I put the routine?
Alternately, how would I call ID_UPDATE from within ID_SAVE?
0 · ·