Click here to Skip to main content
15,913,408 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCSocket Second Receive not responding Pin
Glenn E. Lanier II15-Jan-03 11:10
Glenn E. Lanier II15-Jan-03 11:10 
GeneralRe: CSocket Second Receive not responding Pin
User 665815-Jan-03 11:29
User 665815-Jan-03 11:29 
GeneralRe: CSocket Second Receive not responding Pin
Gavin Taylor15-Jan-03 12:52
professionalGavin Taylor15-Jan-03 12:52 
GeneralRound Pin
Sunnygirl15-Jan-03 11:01
Sunnygirl15-Jan-03 11:01 
Generalprocess performance question Pin
Hugh Beaumont15-Jan-03 10:45
Hugh Beaumont15-Jan-03 10:45 
GeneralRe: process performance question Pin
Dave Bryant15-Jan-03 11:18
Dave Bryant15-Jan-03 11:18 
GeneralBasic question on CScrollView Pin
Still learning how to code15-Jan-03 10:21
Still learning how to code15-Jan-03 10:21 
GeneralBitmap and dialogbar Pin
MemLeak15-Jan-03 9:23
MemLeak15-Jan-03 9:23 
Hi,

I'am creating a MDI App with a dialogbar in it. Inside of the dialogbar I have a bitmap that I have loaded with the ressource editor. I want some part of the bitmap to have the system color.

I have tried:

MainFrame::Mainframe()
{

CBitmap bitmap;

COLORMAP tabcolormap;

tabcolormap.from = RGB(255,255,255);
tabcolormap.to = COLOR_SYSTEM;

bitmap.LoadMappedBitmap(IDB_LOGO,0,&tabcolormap,1);

}

My App run well but the bitmap doesn't change.

My dialogbar is created with:

CDialogBar mydialog;

if(!mydialog.Create(this, IDD_DLGBAR, CBRS_RIGHT, IDD_DLGBAR))
{
TRACE0("Failed to create dialog bar\n");
return -1; // fail to create
}

any ideas?

thanks!!

GeneralRe: Bitmap and dialogbar Pin
Hesham Amin15-Jan-03 11:35
Hesham Amin15-Jan-03 11:35 
GeneralDetecting Large Fonts - Display Properties Pin
JohnnyG15-Jan-03 9:06
JohnnyG15-Jan-03 9:06 
GeneralRe: Detecting Large Fonts - Display Properties Pin
Chris Richardson15-Jan-03 9:44
Chris Richardson15-Jan-03 9:44 
GeneralRe: Detecting Large Fonts - Display Properties Pin
JohnnyG18-Jan-03 5:48
JohnnyG18-Jan-03 5:48 
GeneralReceiving calls in TAPI Pin
vin15-Jan-03 8:45
vin15-Jan-03 8:45 
GeneralRe: Receiving calls in TAPI Pin
Nick Parker15-Jan-03 8:56
protectorNick Parker15-Jan-03 8:56 
GeneralRe: Receiving calls in TAPI Pin
David Salter15-Jan-03 9:10
David Salter15-Jan-03 9:10 
GeneralRe: Receiving calls in TAPI Pin
vin16-Jan-03 0:17
vin16-Jan-03 0:17 
GeneralSingle Document many views Pin
ns15-Jan-03 8:38
ns15-Jan-03 8:38 
GeneralRe: Single Document many views Pin
valikac15-Jan-03 9:07
valikac15-Jan-03 9:07 
GeneralRe: Single Document many views Pin
ns15-Jan-03 9:07
ns15-Jan-03 9:07 
GeneralProblems w/ saving Pin
brianwelsch15-Jan-03 8:26
brianwelsch15-Jan-03 8:26 
Generalreplacing main() Pin
Anonymous15-Jan-03 8:24
Anonymous15-Jan-03 8:24 
GeneralRe: replacing main() Pin
Dave Bryant15-Jan-03 8:43
Dave Bryant15-Jan-03 8:43 
GeneralRe: replacing main() Pin
Anonymous15-Jan-03 8:49
Anonymous15-Jan-03 8:49 
GeneralRe: replacing main() Pin
jhwurmbach15-Jan-03 22:14
jhwurmbach15-Jan-03 22:14 
GeneralCListCtrl and multi-threading Pin
Inor15-Jan-03 8:22
Inor15-Jan-03 8:22 

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.