Click here to Skip to main content
15,912,665 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCPropertySheet - initialization Pin
john john mackey8-Aug-02 12:06
john john mackey8-Aug-02 12:06 
GeneralRe: CPropertySheet - initialization Pin
john john mackey8-Aug-02 12:27
john john mackey8-Aug-02 12:27 
QuestionBuggy Debug? Pin
dazinith8-Aug-02 11:36
dazinith8-Aug-02 11:36 
AnswerRe: Buggy Debug? Pin
Shog98-Aug-02 12:23
sitebuilderShog98-Aug-02 12:23 
GeneralRe: Buggy Debug? Pin
dazinith9-Aug-02 4:07
dazinith9-Aug-02 4:07 
AnswerRe: Buggy Debug? Pin
Chris Losinger8-Aug-02 19:37
professionalChris Losinger8-Aug-02 19:37 
AnswerRe: Buggy Debug? Pin
Jeremy Pullicino8-Aug-02 23:42
Jeremy Pullicino8-Aug-02 23:42 
GeneralTimers, Windows and a stupid DLL Pin
User 66588-Aug-02 10:07
User 66588-Aug-02 10:07 
Hi
I have a strange problem I can't solve. At first a short explanation what I want to do:

I have written an MFC DLL. I added a sourcefile of an subclassed window. Now I want to call that window inside the DLL:
CSubWindow window;
window.Create(...)
...
(show the window)


Well, ok, the window shows up. But then the window itself starts a timer after that the window hides itself. It calls SetTimer(...) and hides itself in the OnTimer() procedure.

But for some reason SetTimer seems to fail so that the window can't hide itself after a period. Inside an EXE everything works, but inside the DLL all the timer thingies don't work anymore.

Of coure I could add a Sleep() command to hide the window after a period, but that's the worst solution I can think of since it stops the whole DLL.

Does anyone have a solution how to get the timers of an window get to work in a DLL?

thanks in advance
Greg

modified 12-Sep-18 21:01pm.

GeneralIAS Extension DLL Pin
Mauricio Ritter8-Aug-02 9:27
Mauricio Ritter8-Aug-02 9:27 
GeneralHeelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:19
Rickard Andersson208-Aug-02 8:19 
GeneralRe: Heelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:40
Rickard Andersson208-Aug-02 8:40 
GeneralKey codes from low level hooks Pin
Alex Korchemniy8-Aug-02 8:19
Alex Korchemniy8-Aug-02 8:19 
GeneralRe: Key codes from low level hooks Pin
Renjith Ramachandran8-Aug-02 9:09
Renjith Ramachandran8-Aug-02 9:09 
GeneralRe: Key codes from low level hooks Pin
Jon Hulatt9-Aug-02 1:23
Jon Hulatt9-Aug-02 1:23 
QuestionAutomatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 8:15
sussAnonymous Dave8-Aug-02 8:15 
AnswerRe: Automatic Scrolling in a list box? Pin
Tomasz Sowinski8-Aug-02 8:50
Tomasz Sowinski8-Aug-02 8:50 
GeneralRe: Automatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 10:04
sussAnonymous Dave8-Aug-02 10:04 
QuestionLines of code in Visual C++ project? Pin
Aaron Schaefer8-Aug-02 8:08
Aaron Schaefer8-Aug-02 8:08 
AnswerRe: Lines of code in Visual C++ project? Pin
Chris Richardson8-Aug-02 8:24
Chris Richardson8-Aug-02 8:24 
GeneralRe: Lines of code in Visual C++ project? Pin
Aaron Schaefer8-Aug-02 8:39
Aaron Schaefer8-Aug-02 8:39 
GeneralSubmenu :: MFC Pin
valikac8-Aug-02 7:52
valikac8-Aug-02 7:52 
GeneralRe: Submenu :: MFC Pin
User 66588-Aug-02 10:36
User 66588-Aug-02 10:36 
GeneralRe: Submenu :: MFC Pin
valikac8-Aug-02 13:25
valikac8-Aug-02 13:25 
GeneralRe: Submenu :: MFC Pin
Cyclist8-Aug-02 17:31
Cyclist8-Aug-02 17:31 
GeneralRe: Submenu :: MFC Pin
valikac9-Aug-02 5:03
valikac9-Aug-02 5:03 

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.