ok i tried it, same result, still can use it limited times, it seems like after a certain number of times windows stops sending the message or soemthing like that
i am not sure.
ok i tried it, same result, still can use it limited times, it seems like after a certain number of times windows stops sending the message or soemthing like that
i am not sure.
-Ti22-
Now do you mean it doesn't show up anymore or that it doesn't do anything when you select something?
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
Try adding the TPM_RECURSE flag to your TrackPopupMenu call like so:
Code:TrackPopupMenu(hMenu, TPM_LEFTALIGN | TPM_RIGHTBUTTON|TPM_RECURSE, mouse_y, mouse_x, 0, hWnd, NULL);
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
no same results it works like before
when i start the program up i can use the pop up menu but only limited amount of times and everytime its different how many times i can use it
but every button in the pop up menu works like it should
but as i said previously after using the pop up menu a certain time it stops working as in it won't even show up at all.
I tried the recurse still same results.
-Ti22-
Are you sure mouse_x and mouse_y aren't being changed to something unexpected at some point in time. Have you tried uncommenting out the point.x, point.y and using them in TrackPopupMenu function?
I can't seem to recreate your problem, that's why I am asking this stuff.
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
hmm,
can I send you my code? will that be ok? its for my coursework and the code already does everything the coursework needs but this bug is very annoying.
I'll PM you with the zip file, pls don't release the code as I need to hand it in
-Ti22-
Wouldn't be a problem at all. I will take a look at it tonight.
edit - hey the link doesn't work.
Last edited by andyhunter; 01-18-2005 at 07:01 PM.
i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced
It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah
Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem
hey can u try it again?
the link should work now.
Thx
-Ti22-