Click here to Skip to main content
15,916,842 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sending data with ::SendMessage(...) function Pin
Muhammad Azam4-Oct-04 23:26
Muhammad Azam4-Oct-04 23:26 
GeneralActive X Problem Pin
BAIJUMAX3-Oct-04 17:31
professionalBAIJUMAX3-Oct-04 17:31 
Generalcontext and winhelp menus not staying in foreground Pin
raultkd3-Oct-04 16:45
raultkd3-Oct-04 16:45 
QuestionI'm floating integer to hex? Pin
BOBOBOBOBS3-Oct-04 15:53
BOBOBOBOBS3-Oct-04 15:53 
AnswerRe: I'm floating integer to hex? Pin
ThatsAlok3-Oct-04 19:09
ThatsAlok3-Oct-04 19:09 
AnswerRe: I'm floating integer to hex? Pin
mirex4-Oct-04 2:40
mirex4-Oct-04 2:40 
GeneralHelp Pin
Anonymous3-Oct-04 14:22
Anonymous3-Oct-04 14:22 
GeneralRe: Help Pin
ThatsAlok3-Oct-04 20:36
ThatsAlok3-Oct-04 20:36 
YEah look for invalidateRect() api that may help in above cause

basically this api repaint any given rectangular position in the given window.

now follow simple logic,first copy the image data or triangle coordinate in another variabel ,which you want to display and send message to window to repint that position

like this(remember this is logic)

triangle a,b,c & tmp;
you hav displayed them at any given time,
now oN WM_TIMER message of Seconds
copy one triangle in another like this
tmp=a;
a =b;
b=c;
c =tmp;

and call invalidate() to repaint or display the triangle




-----------------------------
"I Think It Will Help"
-----------------------------
Alok Gupta
visit me at http://www.thisisalok.tk
GeneralExtract HBITMAP from IMAGELIST icon Pin
peterchen3-Oct-04 14:15
peterchen3-Oct-04 14:15 
GeneralRe: Extract HBITMAP from IMAGELIST icon Pin
PJ Arends3-Oct-04 16:24
professionalPJ Arends3-Oct-04 16:24 
GeneralMFC Progress Bar Pin
Anonymous3-Oct-04 11:59
Anonymous3-Oct-04 11:59 
GeneralRe: MFC Progress Bar Pin
ThatsAlok3-Oct-04 19:25
ThatsAlok3-Oct-04 19:25 
GeneralRe: MFC Progress Bar Pin
pubududilena4-Oct-04 0:06
pubududilena4-Oct-04 0:06 
QuestionWinVerifyTrust on legacy Win9x? Pin
Jason De Arte3-Oct-04 10:36
Jason De Arte3-Oct-04 10:36 
AnswerRe: WinVerifyTrust on legacy Win9x? Pin
Jason De Arte3-Oct-04 17:01
Jason De Arte3-Oct-04 17:01 
Generalresource is open in another editor Pin
Anonymous3-Oct-04 10:08
Anonymous3-Oct-04 10:08 
GeneralRe: resource is open in another editor Pin
pubududilena3-Oct-04 21:07
pubududilena3-Oct-04 21:07 
GeneralPopup inside popup Pin
Kamis3-Oct-04 9:21
Kamis3-Oct-04 9:21 
GeneralRe: Popup inside popup Pin
Michael Dunn3-Oct-04 10:37
sitebuilderMichael Dunn3-Oct-04 10:37 
GeneralRe: Popup inside popup Pin
Kamis3-Oct-04 11:12
Kamis3-Oct-04 11:12 
GeneralCompile HTML Files Pin
Azghar Hussain3-Oct-04 7:33
professionalAzghar Hussain3-Oct-04 7:33 
GeneralRe: Compile HTML Files Pin
Ravi Bhavnani3-Oct-04 7:51
professionalRavi Bhavnani3-Oct-04 7:51 
GeneralRe: Compile HTML Files Pin
Azghar Hussain4-Oct-04 7:43
professionalAzghar Hussain4-Oct-04 7:43 
GeneralDialog Box Pin
ANDYFA3-Oct-04 6:33
ANDYFA3-Oct-04 6:33 
GeneralRe: Dialog Box Pin
Yulianto.3-Oct-04 18:55
Yulianto.3-Oct-04 18:55 

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.