Click here to Skip to main content
15,888,984 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using a palette Pin
Richard MacCutchan4-Dec-09 23:17
mveRichard MacCutchan4-Dec-09 23:17 
AnswerRe: TransparentBlt doesn't mask transparent color with 4-bit and 8-bit source bitmaps Pin
Rozis2-Dec-09 12:15
Rozis2-Dec-09 12:15 
Question[Message Deleted] Pin
vtech222-Dec-09 7:32
vtech222-Dec-09 7:32 
QuestionRe: Menu Program Pin
David Crow2-Dec-09 7:35
David Crow2-Dec-09 7:35 
Answer[Message Deleted] Pin
vtech222-Dec-09 7:39
vtech222-Dec-09 7:39 
QuestionRe: Menu Program. Pin
David Crow2-Dec-09 7:42
David Crow2-Dec-09 7:42 
AnswerRe: Menu Program. Pin
vtech222-Dec-09 7:44
vtech222-Dec-09 7:44 
QuestionRe: Menu Program. Pin
David Crow2-Dec-09 7:53
David Crow2-Dec-09 7:53 
So none of this looks familiar:

void main( void )
{
    printf("1) Option 1\n");
    printf("2) Option 2\n");
    printf("3) Option 3\n");
    printf("4) Some other menu\n");
    printf("5) Exit\n\n");
  
    int nChoice = 0;
  
    do
    {
        printf("Option: ");
        scanf("%d", &nChoice);
    } while (nChoice >= 1 && nChoice <= 4);
}


"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


GeneralRe: Menu Program. Pin
Richard MacCutchan2-Dec-09 8:28
mveRichard MacCutchan2-Dec-09 8:28 
General[Message Deleted] Pin
vtech222-Dec-09 8:32
vtech222-Dec-09 8:32 
GeneralRe: Menu Program. Pin
Tim Craig2-Dec-09 9:25
Tim Craig2-Dec-09 9:25 
GeneralRe: [Message Deleted] Pin
Richard MacCutchan2-Dec-09 12:36
mveRichard MacCutchan2-Dec-09 12:36 
QuestionPermanent horizontal Scrollbar in CListView Pin
gerens2-Dec-09 6:41
gerens2-Dec-09 6:41 
QuestionRe: Permanent horizontal Scrollbar in CListView Pin
David Crow2-Dec-09 7:32
David Crow2-Dec-09 7:32 
AnswerRe: Permanent horizontal Scrollbar in CListView Pin
loyal ginger2-Dec-09 9:00
loyal ginger2-Dec-09 9:00 
AnswerRe: Permanent horizontal Scrollbar in CListView Pin
gerens2-Dec-09 11:18
gerens2-Dec-09 11:18 
QuestionRe: Permanent horizontal Scrollbar in CListView Pin
David Crow2-Dec-09 17:37
David Crow2-Dec-09 17:37 
AnswerRe: Permanent horizontal Scrollbar in CListView Pin
gerens2-Dec-09 23:55
gerens2-Dec-09 23:55 
QuestionMessage between windows Pin
msr_codeproject2-Dec-09 6:02
msr_codeproject2-Dec-09 6:02 
AnswerRe: Message between windows Pin
«_Superman_»2-Dec-09 6:20
professional«_Superman_»2-Dec-09 6:20 
AnswerRe: Message between windows Pin
Rajesh R Subramanian2-Dec-09 6:20
professionalRajesh R Subramanian2-Dec-09 6:20 
QuestionEmboldened Items in a CListBox Pin
maycockt2-Dec-09 5:19
maycockt2-Dec-09 5:19 
AnswerRe: Emboldened Items in a CListBox Pin
loyal ginger2-Dec-09 5:32
loyal ginger2-Dec-09 5:32 
AnswerRe: Emboldened Items in a CListBox Pin
«_Superman_»2-Dec-09 6:26
professional«_Superman_»2-Dec-09 6:26 
GeneralRe: Emboldened Items in a CListBox Pin
maycockt2-Dec-09 20:40
maycockt2-Dec-09 20:40 

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.