Click here to Skip to main content
15,918,516 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: accessing the invisible part of a window Pin
Michael Dunn21-Dec-02 5:23
sitebuilderMichael Dunn21-Dec-02 5:23 
Generalfunctions in MFC dialogs Pin
Ayush20-Dec-02 23:22
Ayush20-Dec-02 23:22 
GeneralRe: functions in MFC dialogs Pin
Christian Graus21-Dec-02 0:14
protectorChristian Graus21-Dec-02 0:14 
GeneralRe: functions in MFC dialogs Pin
Scott H. Settlemier23-Dec-02 6:30
Scott H. Settlemier23-Dec-02 6:30 
Generalwhich database is more suitable with MFC Pin
aashu20-Dec-02 22:44
aashu20-Dec-02 22:44 
GeneralRe: which database is more suitable with MFC Pin
Christian Graus21-Dec-02 0:17
protectorChristian Graus21-Dec-02 0:17 
GeneralRe: which database is more suitable with MFC Pin
Michael P Butler21-Dec-02 6:10
Michael P Butler21-Dec-02 6:10 
GeneralProblem with multi threading Pin
SHIBU K.V20-Dec-02 22:32
SHIBU K.V20-Dec-02 22:32 
I have placed a gif animation Control(Gif89) in my Dialog based application and in a thread i tried to move the gif's control (with a loaded picture) through the bottom of my Dialog using Move Window() function.A delay of 1ms is introduced between successive calls to move window. I use a timer to communicate with an external device connected to serial port. It takes almost 3 seconds to finish communication. During this time my thread seems to be strucked and gif control is not moved over my main dialog.How can i avoid this?.

the code in the thread for moving control is given below


int offsetx=0;//65
int offsety=444;
int step=0;
while(killthread)
{
m_santa.MoveWindow(offsetx+step,offsety,159,76);
Sleep(1);
step=step+1;
if(offsetx+step>483)//314)
step=0;

With regards

Shibu


"Help yourself through helping others"
GeneralRe: Problem with multi threading Pin
Michael Dunn21-Dec-02 5:31
sitebuilderMichael Dunn21-Dec-02 5:31 
GeneralRe: Problem with multi threading Pin
Andreas Masur22-Dec-02 9:40
Andreas Masur22-Dec-02 9:40 
GeneralNew Class or not Pin
ColinDavies20-Dec-02 21:21
ColinDavies20-Dec-02 21:21 
GeneralRe: New Class or not Pin
Christian Graus21-Dec-02 0:19
protectorChristian Graus21-Dec-02 0:19 
GeneralRe: New Class or not Pin
ColinDavies21-Dec-02 11:58
ColinDavies21-Dec-02 11:58 
Generalsending keys to a directx/openGL application Pin
Cyberizen20-Dec-02 21:08
Cyberizen20-Dec-02 21:08 
QuestionDialog in a Dialog... or view in a dialog? Pin
Anonymous20-Dec-02 19:58
Anonymous20-Dec-02 19:58 
AnswerRe: Dialog in a Dialog... or view in a dialog? Pin
Pavel Klocek20-Dec-02 20:20
Pavel Klocek20-Dec-02 20:20 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Anonymous20-Dec-02 21:48
Anonymous20-Dec-02 21:48 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Pavel Klocek20-Dec-02 22:00
Pavel Klocek20-Dec-02 22:00 
GeneralRe: Dialog in a Dialog... or view in a dialog? Pin
Anonymous21-Dec-02 2:29
Anonymous21-Dec-02 2:29 
GeneralCWnd OnMouseMove problem! Pin
Alex H 198320-Dec-02 19:28
Alex H 198320-Dec-02 19:28 
GeneralRe: CWnd OnMouseMove problem! Pin
Alex H 198321-Dec-02 2:42
Alex H 198321-Dec-02 2:42 
GeneralCFormView in CDialog Pin
Anonymous20-Dec-02 17:49
Anonymous20-Dec-02 17:49 
GeneralRe: CFormView in CDialog Pin
Nish Nishant20-Dec-02 19:32
sitebuilderNish Nishant20-Dec-02 19:32 
GeneralRe: CFormView in CDialog Pin
Anonymous20-Dec-02 19:45
Anonymous20-Dec-02 19:45 
GeneralRe: CFormView in CDialog Pin
Anonymous20-Dec-02 20:01
Anonymous20-Dec-02 20:01 

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.