Click here to Skip to main content
15,891,529 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generali want to get the handle of a clicked window among various opened windows Pin
Amr Abdel-Mohsen17-Feb-04 1:11
Amr Abdel-Mohsen17-Feb-04 1:11 
GeneralRe: i want to get the handle of a clicked window among various opened windows Pin
Prakash Nadar17-Feb-04 3:03
Prakash Nadar17-Feb-04 3:03 
GeneralSimple Synchronization problem Pin
DimpleSurana17-Feb-04 0:09
DimpleSurana17-Feb-04 0:09 
GeneralRe: Simple Synchronization problem Pin
Prakash Nadar17-Feb-04 0:30
Prakash Nadar17-Feb-04 0:30 
GeneralRe: Simple Synchronization problem Pin
DimpleSurana17-Feb-04 0:34
DimpleSurana17-Feb-04 0:34 
GeneralRe: Simple Synchronization problem Pin
Robert A. T. Káldy17-Feb-04 1:05
Robert A. T. Káldy17-Feb-04 1:05 
GeneralRe: Simple Synchronization problem Pin
DimpleSurana17-Feb-04 1:27
DimpleSurana17-Feb-04 1:27 
GeneralRe: Simple Synchronization problem Pin
alex120517-Feb-04 16:46
alex120517-Feb-04 16:46 
I think it would be ok to use mutexes to synchronize things.

You could use WaitForSingleObject(MutexName, INFINITE) before reading or writing to x, then call ReleaseMutex(MutexName) after the process.
This would synchronize things. But be sure to put then in the right place, this might cause deadlocks if misused.

Hope this help. :>

SDE
Generalhelp in IE Pin
Abhi Lahare16-Feb-04 23:52
Abhi Lahare16-Feb-04 23:52 
GeneralRe: help in IE Pin
Ravi Bhavnani17-Feb-04 17:19
professionalRavi Bhavnani17-Feb-04 17:19 
GeneralDrawing problem while drawing on Flash Activex object Pin
Ricky Xian16-Feb-04 23:43
Ricky Xian16-Feb-04 23:43 
GeneralRe: Drawing problem while drawing on Flash Activex object Pin
basementman17-Feb-04 6:13
basementman17-Feb-04 6:13 
GeneralRetrieve Windows Version Pin
Member 81095316-Feb-04 23:38
Member 81095316-Feb-04 23:38 
GeneralRe: Retrieve Windows Version Pin
Prakash Nadar16-Feb-04 23:45
Prakash Nadar16-Feb-04 23:45 
GeneralRe: Retrieve Windows Version Pin
Selvam R16-Feb-04 23:48
professionalSelvam R16-Feb-04 23:48 
GeneralRe: Retrieve Windows Version Pin
John M. Drescher17-Feb-04 2:51
John M. Drescher17-Feb-04 2:51 
Generalmessage box..... Pin
Best Friend16-Feb-04 22:55
Best Friend16-Feb-04 22:55 
GeneralRe: message box..... Pin
Prakash Nadar16-Feb-04 23:03
Prakash Nadar16-Feb-04 23:03 
GeneralRe: message box..... Pin
Selvam R16-Feb-04 23:07
professionalSelvam R16-Feb-04 23:07 
GeneralRe: message box..... Pin
Robert A. T. Káldy17-Feb-04 1:09
Robert A. T. Káldy17-Feb-04 1:09 
GeneralSocket problem... Pin
Prakash Nadar16-Feb-04 22:40
Prakash Nadar16-Feb-04 22:40 
GeneralRe: Socket problem... Pin
alex120516-Feb-04 23:11
alex120516-Feb-04 23:11 
GeneralRe: Socket problem... Pin
Prakash Nadar16-Feb-04 23:33
Prakash Nadar16-Feb-04 23:33 
QuestionHow to get good formatted text in Browser Control? Pin
vinjamsailendrachowdary16-Feb-04 22:35
vinjamsailendrachowdary16-Feb-04 22:35 
GeneralProblem with MessageBox Pin
JGStanier16-Feb-04 22:28
JGStanier16-Feb-04 22:28 

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.