Click here to Skip to main content
15,915,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How can I Handle character 'a' and character 'A' in pretranslate Message Pin
CPallini27-Jun-08 2:06
mveCPallini27-Jun-08 2:06 
GeneralRe: How can I Handle character 'a' and character 'A' in pretranslate Message Pin
phanindra varma30-Jun-08 1:31
phanindra varma30-Jun-08 1:31 
GeneralRe: How can I Handle character 'a' and character 'A' in pretranslate Message Pin
CPallini30-Jun-08 2:07
mveCPallini30-Jun-08 2:07 
QuestionOpen window when double click to the Systray Icon Pin
cb0206126-Jun-08 15:45
cb0206126-Jun-08 15:45 
AnswerRe: Open window when double click to the Systray Icon [modified] Pin
Naveen26-Jun-08 16:24
Naveen26-Jun-08 16:24 
GeneralRe: Open window when double click to the Systray Icon Pin
cb0206126-Jun-08 17:13
cb0206126-Jun-08 17:13 
GeneralRe: Open window when double click to the Systray Icon Pin
Naveen26-Jun-08 17:16
Naveen26-Jun-08 17:16 
AnswerRe: Open window when double click to the Systray Icon Pin
Iain Clarke, Warrior Programmer26-Jun-08 22:01
Iain Clarke, Warrior Programmer26-Jun-08 22:01 
cb02061 wrote:
No error detected when i compiled the codes.


You don't say whether you've debugged your code. Compiling cleanly is MILES away from actually doing what you've asked it to do.

Try doing:

LRESULT CMainFrame::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
    // Open window when double click to the Systray Icon

    if(message == MYWM_NOTIFYICON
    {
        ASSERT(FALSE); // we will break here, and then we can check the flow
        switch (lParam){


Then see if
(a) message MYWM_NOTIFYICON ever arrives - if not, look at how you set up your little icon.
(b) do you then get the dblclk message?
(c) and does wParam equal your code?

The show-my-window code looks fine to me (no guarantee though!), so I'd concentrate on the wiring to detect double clicks.

Lastly, use the pre tag as described in the "read this before posting" message. The rules there are good ones. Without formatting, your code is hard to read. And you're just lucky you don;t use any <s or >s.

Iain.

Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

QuestionHidden Stuff lurking in Windows Virtual Memory space Pin
felix1526-Jun-08 14:19
felix1526-Jun-08 14:19 
AnswerRe: Hidden Stuff lurking in Windows Virtual Memory space Pin
Naveen26-Jun-08 16:14
Naveen26-Jun-08 16:14 
GeneralRe: Hidden Stuff lurking in Windows Virtual Memory space Pin
felix1526-Jun-08 17:45
felix1526-Jun-08 17:45 
GeneralRe: Hidden Stuff lurking in Windows Virtual Memory space Pin
Naveen26-Jun-08 17:59
Naveen26-Jun-08 17:59 
QuestionGo to definition dosent work Pin
kasi1426-Jun-08 13:43
kasi1426-Jun-08 13:43 
AnswerRe: Go to definition dosent work Pin
Jijo.Raj26-Jun-08 20:08
Jijo.Raj26-Jun-08 20:08 
GeneralRe: Go to definition dosent work Pin
KarstenK26-Jun-08 21:42
mveKarstenK26-Jun-08 21:42 
QuestionCreate a DOS Window for Debug Output Pin
Andy20226-Jun-08 11:10
Andy20226-Jun-08 11:10 
AnswerRe: Create a DOS Window for Debug Output Pin
«_Superman_»26-Jun-08 12:44
professional«_Superman_»26-Jun-08 12:44 
GeneralRe: Create a DOS Window for Debug Output Pin
Rajesh R Subramanian26-Jun-08 20:31
professionalRajesh R Subramanian26-Jun-08 20:31 
GeneralRe: Create a DOS Window for Debug Output Pin
«_Superman_»27-Jun-08 6:46
professional«_Superman_»27-Jun-08 6:46 
QuestionRelease Build, Symbols, Debugging Unreproducable Crashes. Pin
Mike Doner26-Jun-08 9:35
Mike Doner26-Jun-08 9:35 
AnswerRe: Release Build, Symbols, Debugging Unreproducable Crashes. Pin
Stephen Hewitt26-Jun-08 14:15
Stephen Hewitt26-Jun-08 14:15 
GeneralRe: Release Build, Symbols, Debugging Unreproducable Crashes. Pin
Saurabh.Garg26-Jun-08 15:13
Saurabh.Garg26-Jun-08 15:13 
GeneralRe: Release Build, Symbols, Debugging Unreproducable Crashes. Pin
Stephen Hewitt26-Jun-08 15:30
Stephen Hewitt26-Jun-08 15:30 
GeneralRe: Release Build, Symbols, Debugging Unreproducable Crashes. Pin
Stephen Hewitt26-Jun-08 15:38
Stephen Hewitt26-Jun-08 15:38 
GeneralRe: Release Build, Symbols, Debugging Unreproducable Crashes. Pin
Saurabh.Garg26-Jun-08 15:43
Saurabh.Garg26-Jun-08 15:43 

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.