Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual Studio 6 : jumping to a method Pin
Jerome Conus11-Sep-03 3:01
Jerome Conus11-Sep-03 3:01 
GeneralRe: Visual Studio 6 : jumping to a method Pin
Roger Stoltz11-Sep-03 4:07
Roger Stoltz11-Sep-03 4:07 
GeneralWCHAR to STL string Pin
pankajdaga11-Sep-03 2:18
pankajdaga11-Sep-03 2:18 
GeneralRe: WCHAR to STL string Pin
Taka Muraoka11-Sep-03 3:05
Taka Muraoka11-Sep-03 3:05 
GeneralRe: WCHAR to STL string Pin
Michael Dunn11-Sep-03 6:31
sitebuilderMichael Dunn11-Sep-03 6:31 
Generalmultiple undo/redo Pin
Jerome Conus11-Sep-03 2:08
Jerome Conus11-Sep-03 2:08 
GeneralRe: multiple undo/redo Pin
PengFeidu11-Sep-03 2:31
PengFeidu11-Sep-03 2:31 
GeneralRe: multiple undo/redo Pin
Maximilien11-Sep-03 2:51
Maximilien11-Sep-03 2:51 
Think about the operations you are doing as commands, each command need to be self-contained.

for example, drawing a square in a drawing program, what is the undo ? cut ? ok, but what is the redo ? paste or just the same command that you originally draw the square ?

and from the other side, if you cut a square, what is the undo ? paste or juste drawing back the square ?

from my experience, each command should be able to generate it's onw undo command from the data it uses to generate the command.

It can be simple or hard.



Maximilien Lincourt
"Never underestimate the bandwidth of a station wagon filled with backup tapes." ("Computer Networks" by Andrew S Tannenbaum )
GeneralRe: multiple undo/redo Pin
Jagadeesh VN11-Sep-03 4:34
Jagadeesh VN11-Sep-03 4:34 
Generalproblems to get all kinds of refreshrates of a resolution Pin
selfk11-Sep-03 1:19
selfk11-Sep-03 1:19 
GeneralRe: happy mid-autumn festival for everyone Pin
Taka Muraoka11-Sep-03 1:23
Taka Muraoka11-Sep-03 1:23 
GeneralRe: happy mid-autumn festival for everyone Pin
PengFeidu11-Sep-03 1:34
PengFeidu11-Sep-03 1:34 
Questionis is posible to store GIF as resource? Pin
vgrigor11-Sep-03 0:58
vgrigor11-Sep-03 0:58 
AnswerRe: is is posible to store GIF as resource? Pin
Dangleberry11-Sep-03 1:18
sussDangleberry11-Sep-03 1:18 
AnswerRe: is is posible to store GIF as resource? Pin
PengFeidu11-Sep-03 1:21
PengFeidu11-Sep-03 1:21 
GeneralRe: is is posible to store GIF as resource? Pin
vgrigor11-Sep-03 1:30
vgrigor11-Sep-03 1:30 
GeneralRe: is is posible to store GIF as resource? Pin
PengFeidu11-Sep-03 1:41
PengFeidu11-Sep-03 1:41 
GeneralRe: is is posible to store GIF as resource? Pin
vgrigor11-Sep-03 1:47
vgrigor11-Sep-03 1:47 
GeneralRe: is is posible to store GIF as resource? Pin
PengFeidu11-Sep-03 2:01
PengFeidu11-Sep-03 2:01 
GeneralRe: is is posible to store GIF as resource? Pin
Dangleberry11-Sep-03 2:45
sussDangleberry11-Sep-03 2:45 
GeneralRe: is is posible to store GIF as resource? Pin
JWood11-Sep-03 14:24
JWood11-Sep-03 14:24 
QuestionHow correctly Deactivate IPictureDisp* based control ? Pin
vgrigor11-Sep-03 0:40
vgrigor11-Sep-03 0:40 
GeneralRGB <--> YUV Pin
Pawel Olszewski11-Sep-03 0:29
Pawel Olszewski11-Sep-03 0:29 
GeneralRe: RGB &lt;--&gt; YUV Pin
selfk11-Sep-03 1:27
selfk11-Sep-03 1:27 
GeneralRe: RGB &lt;--&gt; YUV Pin
Pawel Olszewski11-Sep-03 2:28
Pawel Olszewski11-Sep-03 2:28 

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.