Click here to Skip to main content
16,011,374 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralHelp! WS_CLIPCHILDREN and scrollbar buttons Pin
16-Nov-01 10:04
suss16-Nov-01 10:04 
GeneralRe: Help! WS_CLIPCHILDREN and scrollbar buttons Pin
Chris Hafey17-Nov-01 6:46
Chris Hafey17-Nov-01 6:46 
GeneralRe: Help! WS_CLIPCHILDREN and scrollbar buttons Pin
17-Nov-01 14:24
suss17-Nov-01 14:24 
GeneralConsole Background Color Pin
Steve L.16-Nov-01 9:19
Steve L.16-Nov-01 9:19 
GeneralRe: Console Background Color Pin
Carlos Antollini16-Nov-01 9:41
Carlos Antollini16-Nov-01 9:41 
GeneralRe: Console Background Color Pin
Steve L.16-Nov-01 11:14
Steve L.16-Nov-01 11:14 
GeneralRe: Console Background Color Pin
Nish Nishant16-Nov-01 13:51
sitebuilderNish Nishant16-Nov-01 13:51 
GeneralRe: Console Background Color Pin
moliate16-Nov-01 14:23
moliate16-Nov-01 14:23 
Try using FillConsoleOutputAttribute to fill the console with the preferred colorattributes

/moliate

    printf("Hello World     ");

// yellow text on blue. 
    HANDLE hStdout = GetStdHandle( STD_OUTPUT_HANDLE);
    WORD wColor = BACKGROUND_BLUE      |
                  FOREGROUND_RED       | 
                  FOREGROUND_GREEN     |
                  FOREGROUND_INTENSITY; 
    COORD coord; 
    coord.X = 0;            // start at first cell 
    coord.Y = 0;            //   of first row 

    FillConsoleOutputAttribute( 
        hStdout,          // screen buffer handle 
        wColor,           // color to fill with 
        80*50,            // number of cells to fill 
        coord,            // first cell to write to 
        NULL);            // actual number written 

GeneralRe: Console Background Color Pin
Steve L.16-Nov-01 15:57
Steve L.16-Nov-01 15:57 
Generaltransparent Listbox Pin
16-Nov-01 8:47
suss16-Nov-01 8:47 
GeneralRe: transparent Listbox Pin
Rassman19-Nov-01 4:42
Rassman19-Nov-01 4:42 
GeneralDisable button ! Pin
Hadi Rezaee16-Nov-01 8:34
Hadi Rezaee16-Nov-01 8:34 
GeneralRe: Disable button ! Pin
Nish Nishant16-Nov-01 13:48
sitebuilderNish Nishant16-Nov-01 13:48 
GeneralRe: Disable button ! Pin
Hadi Rezaee16-Nov-01 14:58
Hadi Rezaee16-Nov-01 14:58 
GeneralRe: Disable button ! Pin
Nish Nishant16-Nov-01 17:16
sitebuilderNish Nishant16-Nov-01 17:16 
GeneralRe: Disable button ! Pin
Hadi Rezaee17-Nov-01 0:27
Hadi Rezaee17-Nov-01 0:27 
GeneralRe: Disable button ! Pin
Nish Nishant17-Nov-01 0:41
sitebuilderNish Nishant17-Nov-01 0:41 
GeneralAlpha Blending Pin
16-Nov-01 8:05
suss16-Nov-01 8:05 
GeneralRe: Alpha Blending Pin
Christian Graus16-Nov-01 17:28
protectorChristian Graus16-Nov-01 17:28 
Generalget ip of current internet connection with mfc Pin
16-Nov-01 6:22
suss16-Nov-01 6:22 
GeneralRe: get ip of current internet connection with mfc Pin
Joaquín M López Muñoz16-Nov-01 7:06
Joaquín M López Muñoz16-Nov-01 7:06 
GeneralSetting ip to local network card Pin
Halid Niyaz2-Aug-03 0:18
Halid Niyaz2-Aug-03 0:18 
GeneralSetting ip to local network card Pin
Halid Niyaz2-Aug-03 0:18
Halid Niyaz2-Aug-03 0:18 
GeneralRe: How do i set the IP address to the network card Pin
Halid Niyaz27-Aug-03 2:04
Halid Niyaz27-Aug-03 2:04 
GeneralRe: get ip of current internet connection with mfc Pin
Nish Nishant16-Nov-01 14:00
sitebuilderNish Nishant16-Nov-01 14:00 

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.