Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionControl Event Handler Pin
Daniel Kanev5-Jul-06 4:50
Daniel Kanev5-Jul-06 4:50 
AnswerRe: Control Event Handler Pin
earl5-Jul-06 4:54
earl5-Jul-06 4:54 
GeneralRe: Control Event Handler Pin
Daniel Kanev5-Jul-06 5:12
Daniel Kanev5-Jul-06 5:12 
GeneralRe: Control Event Handler Pin
earl5-Jul-06 5:30
earl5-Jul-06 5:30 
GeneralRe: Control Event Handler Pin
Justin Tay5-Jul-06 5:45
Justin Tay5-Jul-06 5:45 
Questionusing a win32 code in program! Pin
farshad.f5-Jul-06 4:45
farshad.f5-Jul-06 4:45 
AnswerRe: using a win32 code in program! Pin
Zac Howland5-Jul-06 4:51
Zac Howland5-Jul-06 4:51 
AnswerRe: using a win32 code in program! Pin
Sarath C5-Jul-06 4:55
Sarath C5-Jul-06 4:55 
Most of the MFC classes are a wrapper for win32 functions or doing a set of actions that can be performed with a number if win32 functions.

on using win32, you may have to play with handles instead of classes and its pointer.

It is depends on your project and amount of MFC code used inside project. Anyway there's a countable effort to make an MFC application to win32 application.

e.g there is CWnd::FindWindow function and FindWindow win32 function

the differnce is that. CWnd FindWindow returns a static CWnd* (pointer) and FindWindow API return an HWND. in win32 you may have to add more parameters for corresponding API.

Sit with MSDN and visual studio. If you are an expert or average knowledge in win32 and MFC, the conversion will be more fast. Using static library and shared library is not a big deal. in the initialization, there we need to call Invoke static library instead for controls. finally it matters in the file size and less number of dependency.


SaRath.

"It is your attitude, not your aptitude, that determines your altitude - Zig Ziglar."

<blink>My Blog | Understanding State Pattern in C++

QuestionHow to AddString to child dialog Pin
Max++5-Jul-06 4:26
Max++5-Jul-06 4:26 
AnswerRe: How to AddString to child dialog Pin
Sarath C5-Jul-06 4:46
Sarath C5-Jul-06 4:46 
QuestionThread ..Serial communication..COM DLL Pin
RockyJames5-Jul-06 3:57
RockyJames5-Jul-06 3:57 
AnswerRe: Thread ..Serial communication..COM DLL Pin
earl5-Jul-06 4:22
earl5-Jul-06 4:22 
Question[Message Deleted] Pin
RockyJames5-Jul-06 3:48
RockyJames5-Jul-06 3:48 
AnswerRe: Thread Pin
Sarath C5-Jul-06 3:52
Sarath C5-Jul-06 3:52 
GeneralRe: Thread Pin
RockyJames5-Jul-06 4:08
RockyJames5-Jul-06 4:08 
AnswerRe: Thread Pin
_AnsHUMAN_ 5-Jul-06 3:52
_AnsHUMAN_ 5-Jul-06 3:52 
AnswerRe: Thread Pin
Marc Soleda5-Jul-06 3:53
Marc Soleda5-Jul-06 3:53 
GeneralRe: Thread Pin
RockyJames5-Jul-06 4:09
RockyJames5-Jul-06 4:09 
AnswerRe: Thread ..Serial communication..COM DLL Pin
Cedric Moonen5-Jul-06 3:57
Cedric Moonen5-Jul-06 3:57 
GeneralRe: Thread ..Serial communication..COM DLL Pin
RockyJames5-Jul-06 4:05
RockyJames5-Jul-06 4:05 
GeneralRe: Thread ..Serial communication..COM DLL Pin
Cedric Moonen5-Jul-06 4:18
Cedric Moonen5-Jul-06 4:18 
QuestionDbgPrint in user mode Pin
Kharfax5-Jul-06 3:20
Kharfax5-Jul-06 3:20 
AnswerRe: DbgPrint in user mode Pin
earl5-Jul-06 4:24
earl5-Jul-06 4:24 
GeneralRe: DbgPrint in user mode Pin
Kharfax5-Jul-06 4:30
Kharfax5-Jul-06 4:30 
QuestionC++ code problem Pin
Nirmal Khatri5-Jul-06 3:16
Nirmal Khatri5-Jul-06 3:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.