Click here to Skip to main content
16,010,392 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralPointers and SetDIBitsToDevice Question Pin
ursus zeta11-Dec-02 13:17
ursus zeta11-Dec-02 13:17 
GeneralRe: Pointers and SetDIBitsToDevice Question Pin
dan o12-Dec-02 5:39
dan o12-Dec-02 5:39 
QuestionWhere to make is a Loop? Pin
Autunmsky11-Dec-02 13:04
Autunmsky11-Dec-02 13:04 
AnswerRe: Where to make is a Loop? Pin
carrie11-Dec-02 13:33
carrie11-Dec-02 13:33 
GeneralRe: Where to make is a Loop? Pin
Autunmsky11-Dec-02 13:42
Autunmsky11-Dec-02 13:42 
GeneralRe: Where to make is a Loop? Pin
Christian Graus11-Dec-02 15:55
protectorChristian Graus11-Dec-02 15:55 
GeneralRe: Where to make is a Loop? Pin
Autunmsky11-Dec-02 16:10
Autunmsky11-Dec-02 16:10 
GeneralRe: Where to make is a Loop? Pin
Paul M Watt11-Dec-02 17:17
mentorPaul M Watt11-Dec-02 17:17 
Place the loop around all of your code that you want to repeat.

Also change the loop from above to this.

char ch = _getch();
while (ch != 'e' && ch != 'E')
{
...
}

because the way it is written above it will call getch two separate times and remove two separate characters.

Good Luck


Build a man a fire, and he will be warm for a day
Light a man on fire, and he will be warm for the rest of his life!

GeneralRe: Where to make is a Loop? Pin
carrie11-Dec-02 20:54
carrie11-Dec-02 20:54 
GeneralRe: Where to make is a Loop? Pin
Christian Graus11-Dec-02 20:57
protectorChristian Graus11-Dec-02 20:57 
GeneralPointer error with SendMessage() and LPARAM Pin
Johann Gerell11-Dec-02 12:34
Johann Gerell11-Dec-02 12:34 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Paul M Watt11-Dec-02 12:42
mentorPaul M Watt11-Dec-02 12:42 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Johann Gerell11-Dec-02 13:54
Johann Gerell11-Dec-02 13:54 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Tim Smith12-Dec-02 2:31
Tim Smith12-Dec-02 2:31 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Michael Dunn11-Dec-02 14:55
sitebuilderMichael Dunn11-Dec-02 14:55 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Ravi Bhavnani11-Dec-02 12:50
professionalRavi Bhavnani11-Dec-02 12:50 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Johann Gerell11-Dec-02 13:56
Johann Gerell11-Dec-02 13:56 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
Ravi Bhavnani12-Dec-02 4:03
professionalRavi Bhavnani12-Dec-02 4:03 
GeneralRe: Pointer error with SendMessage() and LPARAM Pin
zarzor11-Dec-02 15:18
zarzor11-Dec-02 15:18 
GeneralTemplate Pin
Gary Kirkham11-Dec-02 10:34
Gary Kirkham11-Dec-02 10:34 
GeneralRe: Template Pin
Maximilien11-Dec-02 10:42
Maximilien11-Dec-02 10:42 
GeneralRe: Template Pin
Alvaro Mendez11-Dec-02 11:04
Alvaro Mendez11-Dec-02 11:04 
QuestionIs this possible? Pin
Mash11-Dec-02 10:17
Mash11-Dec-02 10:17 
AnswerRe: Is this possible? Pin
Christian Graus11-Dec-02 10:30
protectorChristian Graus11-Dec-02 10:30 
AnswerRe: Is this possible? Pin
Ravi Bhavnani11-Dec-02 12:53
professionalRavi Bhavnani11-Dec-02 12:53 

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.