Click here to Skip to main content
15,915,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCEdit Control with built in "Browse..." button Pin
donaldsa1-May-00 12:43
donaldsa1-May-00 12:43 
GeneralRe: CEdit Control with built in Pin
Dmitriy3-May-00 7:42
Dmitriy3-May-00 7:42 
GeneralRe: CEdit Control with built in Pin
donaldsa3-May-00 8:00
donaldsa3-May-00 8:00 
QuestionSerialize a CRgn? Pin
Member 37471-May-00 9:44
Member 37471-May-00 9:44 
AnswerRe: Serialize a CRgn? Pin
Feng Yuan1-May-00 14:23
Feng Yuan1-May-00 14:23 
QuestionHow can I change font for just say one line in a multiline edit box? Pin
Erich Ruth30-Apr-00 5:05
Erich Ruth30-Apr-00 5:05 
AnswerRe: How can I change font for just say one line in a multiline edit box? Pin
Erik Thompson30-Apr-00 7:55
sitebuilderErik Thompson30-Apr-00 7:55 
GeneralUrgent - need to fix control refresh flicker. Pin
Graham30-Apr-00 0:09
Graham30-Apr-00 0:09 
Hi,

--> I cannot use memory DC to fix this - I don't have enough time to implement a complicated
solution I was looking for a *simple* (refresh ordering) solution..

I have been implementing a sound effects proccessing program for my degree. The program makes use of controls
as effect instances. There are also frame controls which provide a border for each instance and a single "Network Area" control
that defines the region where effects can be placed. Each of these controls is a CStatic Picture control.

Connections between modules are drawn using DC commands.

My problem:-

When the user moves an effects module I have to update the module position.
I then redraw the Network control and then redraw the connections on top directly to the DC.
This all works fine but causes an extreme amount of flicker in the effect module controls (these are positioned
within the refreshed area) and their frames.

I think it is to do with this - when the Network area is refreshed all controls within that region are refreshed again
causeng the flicker. I have seen a solution to use ValidateRect but I don't know if this applies in my case (and I
can't seem to get it to work anyhow) !

Please could someone tell me where I am going wrong as I am fairly new to windows programming..

Thanks.
GeneralRe: Urgent - need to fix control refresh flicker. Pin
Cristi Posea30-Apr-00 10:58
Cristi Posea30-Apr-00 10:58 
General_SHELL_CallDll Pin
Member 17013529-Apr-00 2:45
Member 17013529-Apr-00 2:45 
GeneralRe: _SHELL_CallDll Pin
Mike Dunn30-Apr-00 8:28
Mike Dunn30-Apr-00 8:28 
QuestionIs it a Text file? Pin
Member 51928-Apr-00 9:12
Member 51928-Apr-00 9:12 
AnswerRe: Is it a Text file? Pin
Kurt2-May-00 4:48
Kurt2-May-00 4:48 
Generalkey board control Pin
Reds28-Apr-00 8:02
Reds28-Apr-00 8:02 
GeneralMFC and Automation to run Access Function Pin
Brad27-Apr-00 19:38
Brad27-Apr-00 19:38 
GeneralBand Pin
Member 237527-Apr-00 16:19
Member 237527-Apr-00 16:19 
GeneralRe: Band Pin
Erik Thompson27-Apr-00 16:32
sitebuilderErik Thompson27-Apr-00 16:32 
GeneralRe: Band Pin
Member 237529-Apr-00 4:07
Member 237529-Apr-00 4:07 
GeneralRe: Band Pin
Erik Thompson30-Apr-00 8:38
sitebuilderErik Thompson30-Apr-00 8:38 
GeneralRe: Band Pin
Buck4-May-00 20:09
Buck4-May-00 20:09 
QuestionHow to get a system font file name given a LOGFONT face name? Pin
Mike Faux27-Apr-00 13:46
sussMike Faux27-Apr-00 13:46 
QuestionTurn off code commenting in MS-VS 6? Pin
J Cardinal27-Apr-00 11:20
sussJ Cardinal27-Apr-00 11:20 
AnswerRe: Turn off code commenting in MS-VS 6? Pin
ljp28-Apr-00 8:09
ljp28-Apr-00 8:09 
GeneralRe: Turn off code commenting in MS-VS 6? Pin
Ben Burnett29-Apr-00 22:04
Ben Burnett29-Apr-00 22:04 
GeneralRe: Turn off code commenting in MS-VS 6? Pin
cbates7-May-00 15:49
cbates7-May-00 15:49 

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.