Click here to Skip to main content
15,877,574 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS2005 Team Pin
Jun Du14-Jul-06 9:23
Jun Du14-Jul-06 9:23 
GeneralRe: VS2005 Team Pin
Alex_Y14-Jul-06 9:36
Alex_Y14-Jul-06 9:36 
GeneralRe: VS2005 Team Pin
Jun Du14-Jul-06 9:49
Jun Du14-Jul-06 9:49 
GeneralRe: VS2005 Team Pin
Alex_Y14-Jul-06 11:25
Alex_Y14-Jul-06 11:25 
QuestionWhat's the best way to do this? Pin
Alex Cutovoi14-Jul-06 8:07
Alex Cutovoi14-Jul-06 8:07 
QuestionRe: What's the best way to do this? Pin
Jun Du14-Jul-06 8:27
Jun Du14-Jul-06 8:27 
AnswerRe: What's the best way to do this? Pin
Alex Cutovoi14-Jul-06 8:55
Alex Cutovoi14-Jul-06 8:55 
GeneralRe: What's the best way to do this? Pin
Jun Du14-Jul-06 9:47
Jun Du14-Jul-06 9:47 
Alex Cutovoi wrote:
How can I adjust the x and y axis accroding with the number of registers


I hope you know the possibly largest number of registers (grids?) in advance. Of course, you probably only draw the plot for actual number of available registers.

Alex Cutovoi wrote:
When I said big screen I mean the user will have a big screen resolution to view all the registers, right?


You should know what Customer (or yourself) wants. There are two drawing options:
1) The size of plot is fixed.
2) The size of plot is proportional to the number of registers.

Either way, whenever the number of registers changed, you have to erase the plot and redraw everthing. There is no way to just "adjust". Since you are using GDI to draw, I assume you know how to draw and redraw. To avoid blinking, you probably want to use double-buffering, meaning drawing to a memory DC and copy to the screen when necessary.

Best,
Jun
QuestionDifference between debug and execution on open file Pin
hli114-Jul-06 7:52
hli114-Jul-06 7:52 
AnswerRe: Difference between debug and execution on open file Pin
eusto14-Jul-06 8:12
eusto14-Jul-06 8:12 
GeneralRe: Difference between debug and execution on open file Pin
hli114-Jul-06 8:35
hli114-Jul-06 8:35 
GeneralRe: Difference between debug and execution on open file Pin
PJ Arends14-Jul-06 8:42
professionalPJ Arends14-Jul-06 8:42 
GeneralRe: Difference between debug and execution on open file Pin
hli114-Jul-06 9:02
hli114-Jul-06 9:02 
GeneralRe: Difference between debug and execution on open file Pin
hli114-Jul-06 9:33
hli114-Jul-06 9:33 
GeneralRe: Difference between debug and execution on open file Pin
hli114-Jul-06 10:03
hli114-Jul-06 10:03 
QuestionPassing data between tabs in a tab control [modified] Pin
cppcook14-Jul-06 7:36
cppcook14-Jul-06 7:36 
AnswerRe: Passing data between tabs in a tab control Pin
eusto14-Jul-06 8:09
eusto14-Jul-06 8:09 
GeneralRe: Passing data between tabs in a tab control Pin
cppcook14-Jul-06 8:23
cppcook14-Jul-06 8:23 
GeneralRe: Passing data between tabs in a tab control Pin
eusto14-Jul-06 8:48
eusto14-Jul-06 8:48 
AnswerRe: Passing data between tabs in a tab control Pin
Hamid_RT14-Jul-06 8:14
Hamid_RT14-Jul-06 8:14 
GeneralRe: Passing data between tabs in a tab control Pin
cppcook14-Jul-06 8:26
cppcook14-Jul-06 8:26 
GeneralRe: Passing data between tabs in a tab control Pin
Hamid_RT14-Jul-06 19:00
Hamid_RT14-Jul-06 19:00 
QuestionHelp passing variabiles between dialogs Pin
User 34160314-Jul-06 7:18
User 34160314-Jul-06 7:18 
AnswerRe: Help passing variabiles between dialogs Pin
led mike14-Jul-06 7:25
led mike14-Jul-06 7:25 
AnswerRe: Help passing variabiles between dialogs Pin
Jun Du14-Jul-06 7:27
Jun Du14-Jul-06 7: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.