Click here to Skip to main content
16,004,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Deskbands Pin
Shaun Harrington11-Oct-06 4:23
Shaun Harrington11-Oct-06 4:23 
Generalis it possible to create array of controls in vc++ Pin
18-May-02 13:00
suss18-May-02 13:00 
GeneralRe: is it possible to create array of controls in vc++ Pin
Christian Graus18-May-02 13:53
protectorChristian Graus18-May-02 13:53 
GeneralRe: is it possible to create array of controls in vc++ Pin
Matt Gullett18-May-02 14:50
Matt Gullett18-May-02 14:50 
GeneralRe: is it possible to create array of controls in vc++ Pin
Christian Graus18-May-02 15:46
protectorChristian Graus18-May-02 15:46 
GeneralRe: is it possible to create array of controls in vc++ Pin
Matt Gullett18-May-02 16:12
Matt Gullett18-May-02 16:12 
QuestionThread ? Pin
Maurizot18-May-02 11:58
Maurizot18-May-02 11:58 
AnswerRe: Thread ? Pin
Shog918-May-02 12:04
sitebuilderShog918-May-02 12:04 
Solution: don't do any lengthy processing when handling messages. Especially messages that will be generated while painting. If you don't follow this rule, your application will quickly become painful to use.

Move whatever lengthy processing you're doing in WM_CTRLCOLOR to somewhere else. Draw onto an off-screen bitmap, save the results of your calculations, whatever. Then just use the cached data during message processing. Once this is done, you'll have enough flexability to move the processing into a separate thread if necessary.

--------

This is what we've waited for
This is it boys, this is War!

--Shog9 --


GeneralAuto click on toolbar buttons Pin
Tili18-May-02 10:42
Tili18-May-02 10:42 
GeneralRe: Auto click on toolbar buttons Pin
Shog918-May-02 10:59
sitebuilderShog918-May-02 10:59 
GeneralRe: Auto click on toolbar buttons Pin
Tili18-May-02 11:18
Tili18-May-02 11:18 
GeneralRe: Auto click on toolbar buttons Pin
Shog918-May-02 12:00
sitebuilderShog918-May-02 12:00 
GeneralRe: Auto click on toolbar buttons Pin
Tili18-May-02 12:31
Tili18-May-02 12:31 
Generaltrue DOS program Pin
Kuniva18-May-02 9:31
Kuniva18-May-02 9:31 
GeneralRe: true DOS program Pin
markkuk18-May-02 9:51
markkuk18-May-02 9:51 
GeneralRe: true DOS program Pin
Carlos Antollini18-May-02 14:40
Carlos Antollini18-May-02 14:40 
GeneralRe: true DOS program Pin
Nish Nishant18-May-02 18:15
sitebuilderNish Nishant18-May-02 18:15 
GeneralRe: true DOS program Pin
Ancient Dragon18-May-02 18:50
Ancient Dragon18-May-02 18:50 
GeneralRelease MFC Programs & Dynamic MFC DLL :: MFC Pin
valikac18-May-02 8:42
valikac18-May-02 8:42 
GeneralRe: Release MFC Programs & Dynamic MFC DLL :: MFC Pin
Christian Graus18-May-02 13:55
protectorChristian Graus18-May-02 13:55 
GeneralRe: Release MFC Programs & Dynamic MFC DLL :: MFC Pin
valikac18-May-02 14:39
valikac18-May-02 14:39 
GeneralRe: Release MFC Programs & Dynamic MFC DLL :: MFC Pin
Nish Nishant18-May-02 18:19
sitebuilderNish Nishant18-May-02 18:19 
GeneralRe: Release MFC Programs & Dynamic MFC DLL :: MFC Pin
valikac19-May-02 7:41
valikac19-May-02 7:41 
GeneralTabbing in non-dialog windows Pin
Vivek Rajan18-May-02 8:25
Vivek Rajan18-May-02 8:25 
GeneralRe: Tabbing in non-dialog windows Pin
Paul M Watt18-May-02 8:57
mentorPaul M Watt18-May-02 8:57 

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.