Click here to Skip to main content
15,898,134 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Link Problem... Pin
king'ori11-Feb-08 23:59
king'ori11-Feb-08 23:59 
QuestionMulti Vector Array Pin
Programm3r11-Feb-08 19:29
Programm3r11-Feb-08 19:29 
GeneralRe: Multi Vector Array Pin
ThatsAlok11-Feb-08 20:06
ThatsAlok11-Feb-08 20:06 
GeneralRe: Multi Vector Array Pin
Programm3r11-Feb-08 22:34
Programm3r11-Feb-08 22:34 
QuestionRe: Multi Vector Array Pin
Programm3r11-Feb-08 22:40
Programm3r11-Feb-08 22:40 
Generalupper drawing layer Pin
MKUser11-Feb-08 19:16
MKUser11-Feb-08 19:16 
GeneralRe: upper drawing layer Pin
ShilpiP11-Feb-08 20:12
ShilpiP11-Feb-08 20:12 
GeneralRe: upper drawing layer Pin
MKUser11-Feb-08 22:21
MKUser11-Feb-08 22:21 
The code is simple. Just Create a dialog base application. Add a static control on dialog box. Make a class for this static control(derived from CStatic). Now draw in this class. In Onpaint() of this class draw some image,rectangle, lines etc. Add all mouse functions in this class. Call Invalidate() from mouse click/release functions. Upto now there is no problem. Now call Invalidate() from mouse move function. You'll see flickering. To solve it take an offscreen buffer. Create image/rectangle in offscreen buffer and draw it on view when Invalidate() is call from mouse click/release function. Otherwise form mouse move function, dont create offscreen buffer, just use previously created offscreen buffer and draw it on view. Then draw lines. I'm not using any capture function like ReleaseCapture(). When i dtied this then i can see only lines. I cant see any image/rectangle. What i want
I want a 2 layers. bottom layer should contains image and rectangle and top layer contains only lines.

Manoj Kumar Chauhan

GeneralRe: upper drawing layer Pin
ShilpiP11-Feb-08 22:35
ShilpiP11-Feb-08 22:35 
GeneralRe: upper drawing layer Pin
MKUser11-Feb-08 23:07
MKUser11-Feb-08 23:07 
GeneralRe: upper drawing layer Pin
Iain Clarke, Warrior Programmer11-Feb-08 22:56
Iain Clarke, Warrior Programmer11-Feb-08 22:56 
GeneralRe: upper drawing layer Pin
MKUser11-Feb-08 23:08
MKUser11-Feb-08 23:08 
GeneralRe: upper drawing layer Pin
king'ori12-Feb-08 0:40
king'ori12-Feb-08 0:40 
GeneralRe: upper drawing layer Pin
MKUser12-Feb-08 1:22
MKUser12-Feb-08 1:22 
GeneralMemory usage Pin
Chandrasekharan P11-Feb-08 18:57
Chandrasekharan P11-Feb-08 18:57 
AnswerRe: Memory usage Pin
Programm3r11-Feb-08 19:38
Programm3r11-Feb-08 19:38 
GeneralDisabling buttons in Propertysheet Pin
Gita.Bairavi11-Feb-08 18:31
Gita.Bairavi11-Feb-08 18:31 
GeneralRe: Disabling buttons in Propertysheet Pin
ThatsAlok11-Feb-08 21:46
ThatsAlok11-Feb-08 21:46 
GeneralRe: Disabling buttons in Propertysheet Pin
Gita.Bairavi12-Feb-08 0:56
Gita.Bairavi12-Feb-08 0:56 
Generalconversion of CBYTE ARRAY to CSTRING Pin
guru moorthy.k11-Feb-08 18:29
guru moorthy.k11-Feb-08 18:29 
GeneralRe: conversion of CBYTE ARRAY to CSTRING Pin
ThatsAlok11-Feb-08 20:18
ThatsAlok11-Feb-08 20:18 
GeneralRe: conversion of CBYTE ARRAY to CSTRING Pin
ShilpiP11-Feb-08 20:37
ShilpiP11-Feb-08 20:37 
GeneralRe: conversion of CBYTE ARRAY to CSTRING Pin
cagespear11-Feb-08 23:39
cagespear11-Feb-08 23:39 
QuestionHow do I compile MEX-files in MSVC with MATLAB 6.0 Pin
johnalek11-Feb-08 18:11
johnalek11-Feb-08 18:11 
AnswerRe: How do I compile MEX-files in MSVC with MATLAB 6.0 Pin
Stephen Hewitt11-Feb-08 20:35
Stephen Hewitt11-Feb-08 20:35 

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.