Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Getting the source code of a web page Pin
Paul M Watt3-Feb-03 16:04
mentorPaul M Watt3-Feb-03 16:04 
Generalmultiply displays Pin
Shotgun3-Feb-03 12:38
Shotgun3-Feb-03 12:38 
GeneralRe: multiply displays Pin
Michael Dunn3-Feb-03 12:49
sitebuilderMichael Dunn3-Feb-03 12:49 
GeneralControl Loop.. Pin
JamesLaing3-Feb-03 12:26
JamesLaing3-Feb-03 12:26 
GeneralRe: Control Loop.. Pin
LiquidKnight3-Feb-03 12:47
LiquidKnight3-Feb-03 12:47 
GeneralRe: Control Loop.. Pin
Brad Jennings3-Feb-03 17:58
Brad Jennings3-Feb-03 17:58 
GeneralRe: Control Loop.. Pin
Brad Jennings3-Feb-03 18:04
Brad Jennings3-Feb-03 18:04 
GeneralRe: Control Loop.. Pin
JamesLaing4-Feb-03 1:02
JamesLaing4-Feb-03 1:02 
Thanks for the two suggestions and the link.
I think that I might have over stated the 'seriousness' of my attempts at a graphics program.

My approach is very simple.
I have designed some image lists comprising a number of bitmaps to represent the orientation of each shape.
I simply randomly select an imagelist and bitmap and use this to draw to the window view.

Since the format of the Tetris program is to simply draw the image advancing/rotating/moving side to side it does not involve any complex graphics manipulation.
I simply use BitBlt.

My problem is the type of VC++ application I should define so that I can have a control loop somewhere that generates these random shapes and dispatches them to be drawn.

I defined a straight forward SDI application and tried to use it as my base, but I do not know where my control loop should be placed.
Is this the right kind of application for this type of program ? or do I need another type WIN32 etc ?

As I say, my problem is not realy knowing the windows/MFC generated environment.

Any advice would be very welcome.
GeneralRe: Control Loop.. Pin
Paul M Watt4-Feb-03 21:09
mentorPaul M Watt4-Feb-03 21:09 
QuestionWhat would be "about" the starting salary of someone Pin
LiquidKnight3-Feb-03 12:18
LiquidKnight3-Feb-03 12:18 
AnswerRe: What would be "about" the starting salary of someone Pin
Benny R3-Feb-03 12:33
sussBenny R3-Feb-03 12:33 
GeneralRe: What would be "about" the starting salary of someone Pin
LiquidKnight3-Feb-03 12:37
LiquidKnight3-Feb-03 12:37 
GeneralRe: What would be "about" the starting salary of someone Pin
Steve Mayfield3-Feb-03 13:16
Steve Mayfield3-Feb-03 13:16 
GeneralRe: What would be "about" the starting salary of someone Pin
Michael P Butler4-Feb-03 1:49
Michael P Butler4-Feb-03 1:49 
AnswerRe: What would be "about" the starting salary of someone Pin
Paul M Watt3-Feb-03 13:24
mentorPaul M Watt3-Feb-03 13:24 
AnswerRe: What would be "about" the starting salary of someone Pin
Michael P Butler4-Feb-03 1:07
Michael P Butler4-Feb-03 1:07 
GeneralDoes anyone have an tutorials on using SQL and C++.. Pin
IrishSonic3-Feb-03 11:12
IrishSonic3-Feb-03 11:12 
GeneralRe: Does anyone have an tutorials on using SQL and C++.. Pin
Chris Losinger3-Feb-03 11:37
professionalChris Losinger3-Feb-03 11:37 
QuestionSDI / MDI superclass? Pin
brigham_young3-Feb-03 11:05
brigham_young3-Feb-03 11:05 
Generalmdi help Pin
Michael Shuster3-Feb-03 10:54
Michael Shuster3-Feb-03 10:54 
GeneralRe: mdi help Pin
AlexO3-Feb-03 10:57
AlexO3-Feb-03 10:57 
GeneralRe: mdi help Pin
Michael Shuster3-Feb-03 11:07
Michael Shuster3-Feb-03 11:07 
GeneralRe: mdi help Pin
Chris Richardson3-Feb-03 11:35
Chris Richardson3-Feb-03 11:35 
GeneralRe: mdi help Pin
Michael Shuster3-Feb-03 13:13
Michael Shuster3-Feb-03 13:13 
GeneralRe: mdi help Pin
Roger Allen4-Feb-03 3:15
Roger Allen4-Feb-03 3:15 

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.