Click here to Skip to main content
15,922,894 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Printing Pin
Hamid_RT23-Mar-06 23:44
Hamid_RT23-Mar-06 23:44 
Question[Message Deleted] Pin
zxc8922-Mar-06 2:25
zxc8922-Mar-06 2:25 
AnswerRe: How to Enable a submenu item in MDI Pin
Maximilien22-Mar-06 2:32
Maximilien22-Mar-06 2:32 
AnswerRe: How to Enable a submenu item in MDI Pin
bosfan22-Mar-06 2:45
bosfan22-Mar-06 2:45 
GeneralRe: How to Enable a submenu item in MDI Pin
bosfan22-Mar-06 3:11
bosfan22-Mar-06 3:11 
AnswerRe: How to Enable a submenu item in MDI Pin
Nibu babu thomas23-Mar-06 18:45
Nibu babu thomas23-Mar-06 18:45 
Questionedit subitems in listview Pin
mukri74322-Mar-06 2:21
mukri74322-Mar-06 2:21 
AnswerRe: edit subitems in listview Pin
Waldermort22-Mar-06 4:16
Waldermort22-Mar-06 4:16 
I think you are going bout this the wrong way. In non-MFC you don't need to create a seperate function for windows message, you simply need to handle them in the parent window of your control.

Normally you would use
switch (message) {
    case WM_KILLFOCUS:
        // your code here
    break;

    case WM_CHAR:
        // your code here
    break;
}


For list views you should consult MSDN for exactly what messages are sent and where to trap them (for list views usually they are in the form of a WM_NOTIFY). there are also some good articles on here about how to handle windows messages.
Questiondata transfer. Pin
rajeev8222-Mar-06 2:02
rajeev8222-Mar-06 2:02 
GeneralRe: data transfer. Pin
Ștefan-Mihai MOGA22-Mar-06 2:39
professionalȘtefan-Mihai MOGA22-Mar-06 2:39 
AnswerRe: data transfer. Pin
basementman22-Mar-06 5:12
basementman22-Mar-06 5:12 
QuestionCDHTMLViewSpec related urgent!!! Pin
Shoaib Patel22-Mar-06 1:58
Shoaib Patel22-Mar-06 1:58 
QuestionCOleDateTime error in VS.NET 2003 ? Pin
irol22-Mar-06 1:36
professionalirol22-Mar-06 1:36 
AnswerRe: COleDateTime error in VS.NET 2003 ? Pin
RChin22-Mar-06 3:23
RChin22-Mar-06 3:23 
QuestionCHttpconnection Pin
vivek.s.vivek22-Mar-06 1:10
vivek.s.vivek22-Mar-06 1:10 
QuestionHow to get the status of a USB printer. Pin
ashwath200522-Mar-06 0:58
ashwath200522-Mar-06 0:58 
QuestionDisabling item in MENUBAR Pin
Killer322-Mar-06 0:25
Killer322-Mar-06 0:25 
AnswerRe: Disabling item in MENUBAR Pin
ashokbngr22-Mar-06 0:37
ashokbngr22-Mar-06 0:37 
AnswerRe: Disabling item in MENUBAR Pin
Nibu babu thomas22-Mar-06 0:54
Nibu babu thomas22-Mar-06 0:54 
GeneralRe: Disabling item in MENUBAR Pin
Killer322-Mar-06 2:33
Killer322-Mar-06 2:33 
GeneralRe: Disabling item in MENUBAR Pin
Ștefan-Mihai MOGA22-Mar-06 2:47
professionalȘtefan-Mihai MOGA22-Mar-06 2:47 
GeneralRe: Disabling item in MENUBAR Pin
Nibu babu thomas22-Mar-06 16:56
Nibu babu thomas22-Mar-06 16:56 
QuestionHigh CPU with Mouse Global Hook Pin
redfish3422-Mar-06 0:11
redfish3422-Mar-06 0:11 
QuestionNid help in getting list of URLS in a webpage/website Pin
SteelCrow21-Mar-06 23:50
SteelCrow21-Mar-06 23:50 
AnswerRe: Nid help in getting list of URLS in a webpage/website Pin
Giannakakis Kostas22-Mar-06 1:13
professionalGiannakakis Kostas22-Mar-06 1:13 

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.