Click here to Skip to main content
15,899,474 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Convert CString to CObject VC 6.0 MFC Pin
Vaclav_3-Jan-12 8:49
Vaclav_3-Jan-12 8:49 
GeneralRe: Convert CString to CObject VC 6.0 MFC Pin
ThatsAlok3-Jan-12 19:16
ThatsAlok3-Jan-12 19:16 
QuestionCheck if a window is hidden by another window Pin
Member 29654713-Jan-12 5:48
Member 29654713-Jan-12 5:48 
AnswerRe: Check if a window is hidden by another window Pin
Richard Andrew x643-Jan-12 5:57
professionalRichard Andrew x643-Jan-12 5:57 
AnswerRe: Check if a window is hidden by another window Pin
Randor 3-Jan-12 6:42
professional Randor 3-Jan-12 6:42 
AnswerRe: Check if a window is hidden by another window Pin
Albert Holguin4-Jan-12 9:39
professionalAlbert Holguin4-Jan-12 9:39 
QuestionThread sync Pin
columbos149272-Jan-12 20:05
columbos149272-Jan-12 20:05 
GeneralRe: Thread sync Pin
Randor 2-Jan-12 20:20
professional Randor 2-Jan-12 20:20 
Hi,

Your question is not very well formed. You should consider revising it and give us an error code, and any other relevant information.

columbos14927 wrote:
In my App i have one thread that grabs frames from a camera and paste them on the client window.

Are you saying that you use Clipboard Operations[^] to paste an image? Are you sure about this?

columbos14927 wrote:
The client window belongs to the main thread of the App so when i try to resize it my App crushes.

I certainly hope your monitors are not being crushed as that would get expensive very fast. Smile | :) I believe you mean crashes? If so... then you should have received an error code. When you ask for help from other software engineers... please give detailed information including any error code.

columbos14927 wrote:
I think it happens because the window is a mutual resource of the threads so what happens is that both access him at the same time.

Windows belong to a single thread. However if you attempt to access resources that belong to that thread from other threads... Yes, this can cause problems.


columbos14927 wrote:
how can i solve my problem?

I have no idea. I have no error code, no source code and no description of the application architecture.

Best Wishes,
-David Delaune
GeneralRe: Thread sync Pin
columbos149272-Jan-12 20:29
columbos149272-Jan-12 20:29 
GeneralRe: Thread sync Pin
Randor 2-Jan-12 21:01
professional Randor 2-Jan-12 21:01 
AnswerRe: Thread sync Pin
Bob Ciora4-Jan-12 1:06
Bob Ciora4-Jan-12 1:06 
GeneralRe: Thread sync Pin
columbos149274-Jan-12 1:26
columbos149274-Jan-12 1:26 
AnswerRe: Thread sync Pin
JackDingler4-Jan-12 12:19
JackDingler4-Jan-12 12:19 
QuestionDLL Questions Pin
Richard Andrew x642-Jan-12 17:19
professionalRichard Andrew x642-Jan-12 17:19 
AnswerRe: DLL Questions Pin
Rajesh R Subramanian2-Jan-12 17:41
professionalRajesh R Subramanian2-Jan-12 17:41 
GeneralRe: DLL Questions Pin
Richard Andrew x642-Jan-12 17:45
professionalRichard Andrew x642-Jan-12 17:45 
AnswerRe: DLL Questions Pin
Randor 2-Jan-12 18:50
professional Randor 2-Jan-12 18:50 
GeneralRe: DLL Questions Pin
Richard Andrew x642-Jan-12 18:57
professionalRichard Andrew x642-Jan-12 18:57 
GeneralRe: DLL Questions Pin
Randor 2-Jan-12 19:13
professional Randor 2-Jan-12 19:13 
QuestionHow to modify hardware's property via win32 API Pin
freshtiny2-Jan-12 16:17
freshtiny2-Jan-12 16:17 
AnswerRe: How to modify hardware's property via win32 API Pin
Vaclav_2-Jan-12 17:04
Vaclav_2-Jan-12 17:04 
AnswerRe: How to modify hardware's property via win32 API Pin
freshtiny2-Jan-12 21:05
freshtiny2-Jan-12 21:05 
QuestionDynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_2-Jan-12 15:56
Vaclav_2-Jan-12 15:56 
AnswerRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Chuck O'Toole2-Jan-12 16:01
Chuck O'Toole2-Jan-12 16:01 
GeneralRe: Dynamic array of afx_msg functions - using CPtrArray ( MFC VC 6.0) Pin
Vaclav_2-Jan-12 16:39
Vaclav_2-Jan-12 16: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.