Click here to Skip to main content
15,902,933 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionDrag and Drop between tree controls (Very Urgent........) Pin
AnithaSubramani22-Dec-08 18:32
AnithaSubramani22-Dec-08 18:32 
AnswerRe: Drag and Drop between tree controls (Very Urgent........) Pin
Hamid_RT22-Dec-08 19:09
Hamid_RT22-Dec-08 19:09 
QuestionProgramming time for algorithm? Anyone help me................. Pin
thuyphuongid22-Dec-08 16:46
thuyphuongid22-Dec-08 16:46 
AnswerRe: Programming time for algorithm? Anyone help me................. Pin
L. Madhavan22-Dec-08 19:41
L. Madhavan22-Dec-08 19:41 
Question[VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 16:30
kaviniswell22-Dec-08 16:30 
AnswerRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
Garth J Lancaster22-Dec-08 18:00
professionalGarth J Lancaster22-Dec-08 18:00 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 18:18
kaviniswell22-Dec-08 18:18 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
Garth J Lancaster22-Dec-08 18:27
professionalGarth J Lancaster22-Dec-08 18:27 
GeneralRe: [VC++6.0]Unhandled exception in **.exe, 0xc0000005:Access Vialation Pin
kaviniswell22-Dec-08 18:37
kaviniswell22-Dec-08 18:37 
QuestionCallback Intro Pin
codemunkeh22-Dec-08 15:45
codemunkeh22-Dec-08 15:45 
AnswerRe: Callback Intro Pin
CPallini23-Dec-08 3:05
mveCPallini23-Dec-08 3:05 
QuestionSetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 14:17
KellyR22-Dec-08 14:17 
Hi,

This app is in C++ without MFC, and I'm using SetWindowSubclass to subclass two of my windows controls so that I can manually catch the messages that are sent to their message pumps and process them accordingly. The app is dialog-based and uses a GetMessage loop, so it does not usually take much CPU power... however, the problem is this:
when I call SetWindowSubclass to subclass either of the controls, suddenly my CPU usage jumps to 99% on the task manager. Does SetWindowSubclass branch a new thread for each control that will just run on its own regardless of my GetMessage loop? If so, how do I stop it from doing that? If not, what the heck is it doing and how can I use SetWindowSubclass without using 99% of my darned CPU?

Thanks!

KR

AnswerRe: SetWindowSubclass is killing my app! Pin
Naveen22-Dec-08 18:57
Naveen22-Dec-08 18:57 
GeneralRe: SetWindowSubclass is killing my app! Pin
KellyR22-Dec-08 19:19
KellyR22-Dec-08 19:19 
GeneralRe: SetWindowSubclass is killing my app! Pin
Mark Salsbery23-Dec-08 5:50
Mark Salsbery23-Dec-08 5:50 
QuestionVC Application with password Pin
sunny_vc22-Dec-08 13:38
sunny_vc22-Dec-08 13:38 
AnswerRe: VC Application with password Pin
Garth J Lancaster22-Dec-08 15:17
professionalGarth J Lancaster22-Dec-08 15:17 
AnswerRe: VC Application with password Pin
Chandrasekharan P22-Dec-08 17:25
Chandrasekharan P22-Dec-08 17:25 
AnswerRe: VC Application with password Pin
Mustapha Rédouane23-Dec-08 0:06
Mustapha Rédouane23-Dec-08 0:06 
QuestionVC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 10:45
pratap198022-Dec-08 10:45 
AnswerRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
Jijo.Raj22-Dec-08 11:03
Jijo.Raj22-Dec-08 11:03 
GeneralRe: VC++ 6.0 to VC++ 9.0 porting issue. Runtime Assertion for Keyboard handler Pin
pratap198022-Dec-08 11:15
pratap198022-Dec-08 11:15 
Questionquestion is it possible to hook a function using byte signature Pin
nah133722-Dec-08 10:08
nah133722-Dec-08 10:08 
QuestionNoob QOTD : Resources (menu) in DEBUG only ? Pin
Maximilien22-Dec-08 7:49
Maximilien22-Dec-08 7:49 
AnswerRe: Noob QOTD : Resources (menu) in DEBUG only ? Pin
Code-o-mat22-Dec-08 9:22
Code-o-mat22-Dec-08 9:22 

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.