Click here to Skip to main content
16,005,241 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: file properties Pin
Christian Graus16-Apr-02 10:27
protectorChristian Graus16-Apr-02 10:27 
Questionhow to write an eraser for layers Pin
rainfallc16-Apr-02 0:36
rainfallc16-Apr-02 0:36 
AnswerRe: how to write an eraser for layers Pin
Christian Graus16-Apr-02 2:01
protectorChristian Graus16-Apr-02 2:01 
GeneralRe: how to write an eraser for layers Pin
rainfallc16-Apr-02 4:23
rainfallc16-Apr-02 4:23 
GeneralRe: how to write an eraser for layers Pin
Christian Graus16-Apr-02 10:47
protectorChristian Graus16-Apr-02 10:47 
GeneralRe: how to write an eraser for layers Pin
rainfallc16-Apr-02 15:39
rainfallc16-Apr-02 15:39 
GeneralRe: how to write an eraser for layers Pin
Christian Graus16-Apr-02 16:55
protectorChristian Graus16-Apr-02 16:55 
GeneralRe: how to write an eraser for layers Pin
rainfallc16-Apr-02 18:28
rainfallc16-Apr-02 18:28 
thanks for reply
i create a tool class called Eraser,
now i show three layers on the screen, the topmost one i am editing,
i draw a line on it, i want to ERASE someparts of the line, but those parts
are inside the lower layers`s shapes` region.
How could i set the Eraser`s mode , which just delete the current layers` content,.after i release the mouse button, lower layers show as before, but current layer`s image has changed?

u said:
Make a vector of layer objects, a class that encapsulates the bitmap that represents the layer ( which has it's alpha channel set so that it can be drawn on top of lower layers correctly )

could u offer a short program for the suggestion above? do u mean to draw a bitmap with its alpha channel set on other layers` images?
thanks again
Confused | :confused:
GeneralRe: how to write an eraser for layers Pin
Christian Graus16-Apr-02 19:03
protectorChristian Graus16-Apr-02 19:03 
GeneralRe: how to write an eraser for layers Pin
rainfallc16-Apr-02 19:52
rainfallc16-Apr-02 19:52 
GeneralRe: how to write an eraser for layers Pin
Christian Graus16-Apr-02 19:59
protectorChristian Graus16-Apr-02 19:59 
Generalgetting a dialog's dc Pin
John Oliver16-Apr-02 0:35
John Oliver16-Apr-02 0:35 
GeneralRe: getting a dialog's dc Pin
Paul M Watt16-Apr-02 5:33
mentorPaul M Watt16-Apr-02 5:33 
GeneralMultiple Selection with drag and Drop between TreeCtrls Pin
Luis Reina16-Apr-02 0:16
Luis Reina16-Apr-02 0:16 
QuestionToolbars in Dialogs? Pin
funbag15-Apr-02 23:33
funbag15-Apr-02 23:33 
AnswerRe: Toolbars in Dialogs? Pin
Christian Graus16-Apr-02 2:02
protectorChristian Graus16-Apr-02 2:02 
GeneralDistributed compiling with VStudio 6.0 Pin
Braulio Dez15-Apr-02 23:23
Braulio Dez15-Apr-02 23:23 
GeneralBlocking Sockets - and don´t get the last byte Pin
BtK15-Apr-02 23:12
BtK15-Apr-02 23:12 
GeneralRe: Blocking Sockets - and don´t get the last byte Pin
Le centriste16-Apr-02 3:17
Le centriste16-Apr-02 3:17 
QuestionWhy I Can't get WIM_DATA message in callback function 'waveInProc' ? Pin
Cloudway15-Apr-02 22:57
Cloudway15-Apr-02 22:57 
AnswerRe: Why I Can't get WIM_DATA message in callback function 'waveInProc' ? Pin
Cloudway15-Apr-02 23:09
Cloudway15-Apr-02 23:09 
QuestionHow to set the size of a scrollbox on the scrollbar? Pin
Feng Qin15-Apr-02 22:46
Feng Qin15-Apr-02 22:46 
GeneralSystem's ImageList Pin
Flatline15-Apr-02 21:45
Flatline15-Apr-02 21:45 
GeneralGetting the whole viewport size of SCrollView Pin
Flatline15-Apr-02 21:00
Flatline15-Apr-02 21:00 
GeneralMessage Box problem Pin
Yamuna15-Apr-02 18:27
Yamuna15-Apr-02 18:27 

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.