You can do that manually by converting dialog to doc-view based SDI/MDI app by creating new Doc,View,Frame files and integrating the logic in there and doing lots of other things. But that would be very cryptic because there are very meticulous things to be done in order to achieve it.(e.g. manually editing RC to create frames, menu, toolbar and all).
I think instead of tweaking same app from dlg based to SDI/MSI, it'd be better if you create a fresh MDI/SDI app and then port the functionality one by one from your dialog based app to the SDI/MDI app.
Well if you implemented any sort of Design using Best Practices and Patterns it should be very simple rote work to replace the UI with another. Of course you have to actually develop the UI which may not be simple at all.
I want to launch command prompt window from my application running on Windows Vista. For this purpose i am using CreateProcess. What i want is that command prompt window shoul be launched with Administrative priviliges. Please tell me how can i do so ?
I would really like to use CWinThread class.
I have an odd situation where i am in a dll and would like to use a thread. For come reason CWinThread is not accessible here.
When i try to inclde afxwin.h before my stdafx.h
I would not compile on :
I get the following errors
error C2143: syntax error: missing ';' before'*'
error C2501: 'CWinThread':missing storage-class or type specifiers.
How would i get around this using a Win32 dll trying to implement an MFC class like CwinThread? If this is not possible, what are my thread options. I am simply creating a waitable timer but wanted to do this in a thread.
Last Visit: 31-Dec-99 19:00 Last Update: 8-Dec-23 2:29