Click here to Skip to main content
15,903,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Controls' properties Pin
Atilla Selem7-May-02 6:59
Atilla Selem7-May-02 6:59 
GeneralMinimum CDialog size Pin
LittleYellowBird7-May-02 1:35
LittleYellowBird7-May-02 1:35 
GeneralRe: Minimum CDialog size Pin
Niklas L7-May-02 1:50
Niklas L7-May-02 1:50 
GeneralRe: Minimum CDialog size Pin
LittleYellowBird7-May-02 2:44
LittleYellowBird7-May-02 2:44 
GeneralRe: Minimum CDialog size Pin
Jim A. Johnson7-May-02 6:15
Jim A. Johnson7-May-02 6:15 
GeneralRe: Minimum CDialog size Pin
CMFC6.0VS.NETUser7-May-02 6:47
CMFC6.0VS.NETUser7-May-02 6:47 
Generalmenu problems Pin
7-May-02 1:16
suss7-May-02 1:16 
GeneralBitmap Pin
karanba7-May-02 1:04
karanba7-May-02 1:04 
Hi All,
I have a resource bitmap and I could show it.
By the following line I could get a handle to it.

/*----------------------------------------------------------*/
hBit = LoadBitmap( hInst, "LASER");
/*----------------------------------------------------------*/

I also attach the hBit handle to a CBitmap object then use GetBitmap funtion to have a BITMAP variable.

now I wan to show this bitmap by only it is Red pixel values.

for exmaple:
if the RGB value of an pixel is 0x4f1254

I only what to get a new bitmap with the 0x4f0000 value of the same pixel.

How could I do it.






karanba
GeneralRe: Bitmap Pin
Christian Graus7-May-02 1:16
protectorChristian Graus7-May-02 1:16 
GeneralRe: Bitmap Pin
karanba7-May-02 1:41
karanba7-May-02 1:41 
GeneralRe: Bitmap Pin
Christian Graus7-May-02 11:20
protectorChristian Graus7-May-02 11:20 
QuestionDebug Assertion & Combo Box? Pin
Aoife7-May-02 0:31
Aoife7-May-02 0:31 
AnswerRe: Debug Assertion & Combo Box? Pin
Ganesh Ramaswamy7-May-02 0:38
Ganesh Ramaswamy7-May-02 0:38 
AnswerRe: Debug Assertion & Combo Box? Pin
Nish Nishant7-May-02 0:49
sitebuilderNish Nishant7-May-02 0:49 
GeneralRe: Debug Assertion & Combo Box? Pin
Aoife7-May-02 1:16
Aoife7-May-02 1:16 
GeneralRe: Debug Assertion & Combo Box? Pin
Niklas L7-May-02 1:55
Niklas L7-May-02 1:55 
GeneralDevice Drivers Pin
Sameer Maggon7-May-02 0:24
Sameer Maggon7-May-02 0:24 
GeneralRe: Device Drivers Pin
Wolfram Steinke7-May-02 0:34
Wolfram Steinke7-May-02 0:34 
QuestionHow to detect that IE 4.0 Installed? Pin
Alex Cramer6-May-02 23:53
Alex Cramer6-May-02 23:53 
AnswerRe: How to detect that IE 4.0 Installed? Pin
Christian Graus7-May-02 1:17
protectorChristian Graus7-May-02 1:17 
Generalwrite to file Pin
6-May-02 23:44
suss6-May-02 23:44 
GeneralRe: write to file Pin
Maxwell Chen6-May-02 23:59
Maxwell Chen6-May-02 23:59 
GeneralRe: write to file Pin
7-May-02 5:12
suss7-May-02 5:12 
GeneralRe: write to file Pin
Maxwell Chen7-May-02 15:56
Maxwell Chen7-May-02 15:56 
GeneralGet System Memory Pin
Sameer Maggon6-May-02 23:38
Sameer Maggon6-May-02 23:38 

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.