Click here to Skip to main content
16,011,804 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWindow class in Dll. Help me to find the problem ? Pin
AlexanderKhilko25-Sep-04 0:22
AlexanderKhilko25-Sep-04 0:22 
GeneralOpen Dialog problem Pin
Plons24-Sep-04 23:27
Plons24-Sep-04 23:27 
GeneralRe: Open Dialog problem Pin
Gary R. Wheeler25-Sep-04 2:33
Gary R. Wheeler25-Sep-04 2:33 
GeneralRe: Open Dialog problem Pin
Plons26-Sep-04 5:29
Plons26-Sep-04 5:29 
Generalhidding a file for good Pin
gamitech24-Sep-04 23:27
gamitech24-Sep-04 23:27 
GeneralRe: hidding a file for good Pin
Brian Delahunty25-Sep-04 0:12
Brian Delahunty25-Sep-04 0:12 
GeneralRe: hidding a file for good Pin
Moak26-Sep-04 23:15
Moak26-Sep-04 23:15 
GeneralEN_CHANGE Pin
gamitech24-Sep-04 23:06
gamitech24-Sep-04 23:06 
The EN_CHANGE notification message is sent when the user has taken an action that may have altered text in an edit control. Unlike the EN_UPDATE notification message, this notification message is sent after the system updates the screen. The parent window of the edit control receives this notification message through a WM_COMMAND message.

This is written in the MSDN.
so i 've made a callback function in my w32 api for the dialog that contains the Edit Control like this:


long FAR PASCAL fereastra1(HWND hdlg1,WORD wmessage1,WPARAM wparam1,LPARAM lparam1)
{
switch(wmessage1)
{



case WM_COMMAND:

switch (wparam1)
{

case IDC_LIST1:
switch(lparam1)
{
case 0x0300:
MessageBox(NULL,"modified","HGabby",MB_OK);
break;
case EN_UPDATE:
MessageBox(NULL,"modified","HGabby",MB_OK);
break;
}

case IDOK:
EndDialog(hdlg1,0);
break;
}
break;
}
return 0;
}


can you tell me please how should I handle this problem
When I do it in mfc it works. I mean each time I modifi the edit box a message box appears. I want to do it in a w32 api. so please help me
thankx


gabby
GeneralRe: EN_CHANGE Pin
Andrzej Markowski24-Sep-04 23:44
Andrzej Markowski24-Sep-04 23:44 
GeneralRe: EN_CHANGE Pin
Andrzej Markowski3-Oct-04 16:31
Andrzej Markowski3-Oct-04 16:31 
Generalproblem with NT service Pin
JimmyRopes24-Sep-04 23:04
professionalJimmyRopes24-Sep-04 23:04 
GeneralRe: problem with NT service Pin
ThatsAlok24-Sep-04 23:26
ThatsAlok24-Sep-04 23:26 
GeneralRe: problem with NT service Pin
JimmyRopes25-Sep-04 3:38
professionalJimmyRopes25-Sep-04 3:38 
GeneralRe: problem with NT service Pin
Blake Miller27-Sep-04 12:18
Blake Miller27-Sep-04 12:18 
GeneralRe: problem with NT service Pin
JimmyRopes27-Sep-04 18:45
professionalJimmyRopes27-Sep-04 18:45 
GeneralProblem with Serial communication Pin
Jbardo24-Sep-04 22:50
Jbardo24-Sep-04 22:50 
GeneralSetting attributes to CFile Pin
ledallam24-Sep-04 20:47
ledallam24-Sep-04 20:47 
GeneralRe: Setting attributes to CFile Pin
BAIJUMAX24-Sep-04 22:50
professionalBAIJUMAX24-Sep-04 22:50 
GeneralRe: Setting attributes to CFile Pin
Andrzej Markowski24-Sep-04 22:52
Andrzej Markowski24-Sep-04 22:52 
GeneralRepainting part of a dialog Pin
Fantmx24-Sep-04 18:12
Fantmx24-Sep-04 18:12 
GeneralRe: Repainting part of a dialog Pin
ThatsAlok24-Sep-04 20:19
ThatsAlok24-Sep-04 20:19 
GeneralRe: Repainting part of a dialog Pin
Michael Dunn25-Sep-04 10:13
sitebuilderMichael Dunn25-Sep-04 10:13 
GeneralUnresolved external symbol _main error Pin
Anonymous24-Sep-04 18:09
Anonymous24-Sep-04 18:09 
Generalcombo box Pin
PrathibaDhinakaran24-Sep-04 17:26
PrathibaDhinakaran24-Sep-04 17:26 
GeneralRe: combo box Pin
Maximilien25-Sep-04 1:41
Maximilien25-Sep-04 1:41 

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.