Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
ProcessPendingEvent() How do i call it?
(1/1)
Cybran:
sry if this is the wrong section i'm new here ???
my problem is that i dont know how to call ProcessPendingEvents. i have a loop which has to run for quite a while. when i click on my dialog while with the loop running, i get a message that my pogram is not responding. to avoid this, i tried to call ProcessPendingEvent() in my loop. then i ran my program in debug mode and a messagebox appered saying i should use wxApp::ProcessPendingEvents. well, i tried but i got the error "wxApp not declared". then i tried including wx/wxapp.h and this time the message didnt appear, but my program nevertheless crashed on clicking. (or, at least wasnt responding ;))
please help me to fix the ploblem, im working on this for 2 days now >:(
and sorry for my bad english, i'm german ;D
Jenna:
Short answer:
Ask in the wxWidgets forum.
Your post has nothing to do with Code::Blocks and is therefore violasting our forum rules.
When registering here, you acceopted to respect these rules !
Topic locked !!
Navigation
[0] Message Index
Go to full version