Click here to Skip to main content
16,012,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: refference a pointer to another process !!! Pin
valikac25-Aug-03 5:54
valikac25-Aug-03 5:54 
GeneralRe: refference a pointer to another process !!! Pin
Babayan Hovhannes26-Aug-03 0:04
Babayan Hovhannes26-Aug-03 0:04 
GeneralRe: refference a pointer to another process !!! Pin
mr200326-Aug-03 6:41
mr200326-Aug-03 6:41 
GeneralDev studio question for experts Pin
YaronNir25-Aug-03 4:12
YaronNir25-Aug-03 4:12 
GeneralRe: Dev studio question for experts Pin
valikac25-Aug-03 5:56
valikac25-Aug-03 5:56 
GeneralRe: Dev studio question for experts Pin
YaronNir25-Aug-03 20:40
YaronNir25-Aug-03 20:40 
QuestionMove text in edit box down and to the right 1-pixel? Pin
DanYELL25-Aug-03 3:55
DanYELL25-Aug-03 3:55 
GeneralOnPaint message Pin
El'Cachubrey25-Aug-03 3:55
El'Cachubrey25-Aug-03 3:55 
Hi all
In my MFC dailog i used my itself ActiveX controls.But when its dialog recieved WM_PAINT message it not redraw my controls to the end.Sometimes controls drawing on half or less sometimes almost complete.Whats a problem here???

There are more explicity referience of this trouble

I have 2 thread
First thread its a console application which create second thread .This first thread not call _beginthread function
instead of one use CoInitializeEx() function and create new appartment.In this new appartment created COM object what launch MFC dialog box with 2 controls. Behaviour of this control fine while i dont sinchronized this two thread.

Sinchronizing i implemented this way:
COM object from the secon thread have method IsLock its method returned true while in dialog not pressed any key.

In first thread i maked loop what check this method and continued execution of first thread as soon as IsLock method
became false i.e.

First thread

...
while(cptr->isLock){} //Blocked its thread while isLock true
...


Second thread

CMyObj::get_isLock(VARIANT_BOOL* pVal){
*pVal = lock_fg;
}

...
CMyDlg::OnKey(){
lock_fg = false;
}
...


and after this i see whats my dialog are drawing not properly.

Sorry for complicated explonation and my eanglish.

Thanks.



GeneralCannot load DLL, please Help ! Pin
Babayan Hovhannes25-Aug-03 3:51
Babayan Hovhannes25-Aug-03 3:51 
GeneralRe: Cannot load DLL, please Help ! Pin
Joel Lucsy25-Aug-03 4:37
Joel Lucsy25-Aug-03 4:37 
GeneralRe: Cannot load DLL, please Help ! Pin
Babayan Hovhannes25-Aug-03 4:41
Babayan Hovhannes25-Aug-03 4:41 
GeneralRe: Cannot load DLL, please Help ! Pin
Babayan Hovhannes25-Aug-03 4:45
Babayan Hovhannes25-Aug-03 4:45 
GeneralRe: Cannot load DLL, please Help ! Pin
Joel Lucsy25-Aug-03 4:55
Joel Lucsy25-Aug-03 4:55 
GeneralRe: Cannot load DLL, please Help ! Pin
Babayan Hovhannes25-Aug-03 5:00
Babayan Hovhannes25-Aug-03 5:00 
GeneralAfxMessageBox() Pin
MemLeak25-Aug-03 3:26
MemLeak25-Aug-03 3:26 
GeneralRe: AfxMessageBox() Pin
Arjan Schouten25-Aug-03 3:31
Arjan Schouten25-Aug-03 3:31 
GeneralRe: AfxMessageBox() Pin
Cedric Moonen25-Aug-03 3:35
Cedric Moonen25-Aug-03 3:35 
GeneralRe: AfxMessageBox() Pin
khehwan26-Aug-03 19:16
khehwan26-Aug-03 19:16 
GeneralCProgressCtrl color Pin
Brian van der Beek25-Aug-03 3:09
Brian van der Beek25-Aug-03 3:09 
GeneralRe: CProgressCtrl color Pin
Member 42425925-Aug-03 3:17
Member 42425925-Aug-03 3:17 
GeneralRe: CProgressCtrl color Pin
Brian van der Beek25-Aug-03 3:22
Brian van der Beek25-Aug-03 3:22 
GeneralPrint Preview Pin
DougW4825-Aug-03 2:29
DougW4825-Aug-03 2:29 
Generaljava Word maker help required Pin
seunao25-Aug-03 1:44
seunao25-Aug-03 1:44 
GeneralRe: java Word maker help required Pin
Joey Bloggs25-Aug-03 2:58
Joey Bloggs25-Aug-03 2:58 
GeneralStack overload problem /F dosent, debug wont enter main function, VS6 Pin
Anonymous25-Aug-03 1:39
Anonymous25-Aug-03 1:39 

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.