Click here to Skip to main content
15,910,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to maximize child windows Pin
Kash18-Aug-02 5:06
Kash18-Aug-02 5:06 
GeneralRe: How to maximize child windows Pin
Neville Franks18-Aug-02 14:41
Neville Franks18-Aug-02 14:41 
AnswerRe: How to maximize child windows Pin
Joel Lucsy19-Aug-02 3:55
Joel Lucsy19-Aug-02 3:55 
GeneralRe: How to maximize child windows Pin
Mel Stober19-Aug-02 11:21
Mel Stober19-Aug-02 11:21 
QuestionHow to paint all dialog controls to other DC? Pin
17-Aug-02 15:34
suss17-Aug-02 15:34 
AnswerRe: How to paint all dialog controls to other DC? Pin
Shog917-Aug-02 22:26
sitebuilderShog917-Aug-02 22:26 
GeneralRemove Scrollbar from ListCtrl Pin
Pavel Sokolov17-Aug-02 15:28
Pavel Sokolov17-Aug-02 15:28 
QuestionHow to create an icon at run time? Pin
Hiusing17-Aug-02 15:18
Hiusing17-Aug-02 15:18 
Hello,
I would like to create an icon resource in order for me to create the icon at run time. Do you have any idea how to prepare the raw data for CreateIconFromResourceEx? The following is the example for what I'm talking about. This is an example from WTL Docking windows by Sergey Klimov (kidd@ukr.net)

static BYTE pinnedIconData[]={
0x28, 0000, 0000, 0000, 0x0b, 0000, 0000, 0000,
0x16, 0000, 0000, 0000, 0x01, 0000, 0x04, 0000,
0000, 0000, 0000, 0000, 0x84, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0x10, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0x80, 0000,
0000, 0x80, 0000, 0000, 0000, 0x80, 0x80, 0000,
0x80, 0000, 0000, 0000, 0x80, 0000, 0x80, 0000,
0x80, 0x80, 0000, 0000, 0x80, 0x80, 0x80, 0000,
0xc0, 0xc0, 0xc0, 0000, 0000, 0000, 0xff, 0000,
0000, 0xff, 0000, 0000, 0000, 0xff, 0xff, 0000,
0xff, 0000, 0000, 0000, 0xff, 0000, 0xff, 0000,
0xff, 0xff, 0000, 0000, 0xff, 0xff, 0xff, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0000, 0x07, 0x70, 0000, 0000, 0000, 0000, 0000,
0000, 0x77, 0x77, 0000, 0000, 0000, 0000, 0000,
0000, 0x7f, 0x80, 0000, 0000, 0000, 0000, 0000,
0000, 0xf0, 0x07, 0x77, 0000, 0000, 0000, 0000,
0000, 0x0f, 0000, 0xf7, 0x70, 0000, 0000, 0000,
0000, 0000, 0x0f, 0x0f, 0x70, 0000, 0000, 0000,
0000, 0000, 0000, 0xf0, 0x70, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0000, 0000, 0000, 0000, 0000, 0000, 0000, 0000,
0x7f, 0xff, 0xff, 0xff, 0x81, 0xff, 0xff, 0xff,
0x80, 0xff, 0xff, 0xff, 0x80, 0x7f, 0xff, 0xff,
0x80, 0x7f, 0xff, 0xff, 0x90, 0x3f, 0xff, 0xff,
0xa4, 0x3f, 0xff, 0xff, 0xd2, 0x3f, 0xff, 0xff,
0xe5, 0x3f, 0xff, 0xff, 0xf8, 0x7f, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff};
HICON icons = CreateIconFromResourceEx(unpinnedIconData, 0xec, TRUE, 0x00030000, 11, 11, LR_DEFAULTCOLOR);


AnswerRe: How to create an icon at run time? Pin
Mike Nordell17-Aug-02 23:16
Mike Nordell17-Aug-02 23:16 
Generalsetcheck for extended style list control Pin
nss17-Aug-02 13:59
nss17-Aug-02 13:59 
GeneralRe: setcheck for extended style list control Pin
Joel Lucsy19-Aug-02 3:59
Joel Lucsy19-Aug-02 3:59 
GeneralSTL string class and MFC CString Pin
monrobot1317-Aug-02 12:26
monrobot1317-Aug-02 12:26 
GeneralRe: STL string class and MFC CString Pin
Michael Dunn17-Aug-02 12:56
sitebuilderMichael Dunn17-Aug-02 12:56 
GeneralRe: STL string class and MFC CString Pin
monrobot1317-Aug-02 14:46
monrobot1317-Aug-02 14:46 
GeneralSystem Programming in visual C++ Pin
Amir-ul-Amin17-Aug-02 12:24
Amir-ul-Amin17-Aug-02 12:24 
GeneralRe: System Programming in visual C++ Pin
PJ Arends17-Aug-02 13:02
professionalPJ Arends17-Aug-02 13:02 
GeneralEthernet card and setting promiscuous mode Pin
jparsons17-Aug-02 11:36
jparsons17-Aug-02 11:36 
GeneralRe: Ethernet card and setting promiscuous mode Pin
JohnnyG17-Aug-02 16:13
JohnnyG17-Aug-02 16:13 
GeneralRe: Ethernet card and setting promiscuous mode Pin
jparsons18-Aug-02 16:47
jparsons18-Aug-02 16:47 
GeneralRe: Ethernet card and setting promiscuous mode Pin
Amir-ul-Amin2-May-05 22:01
Amir-ul-Amin2-May-05 22:01 
GeneralCEdit question Pin
Bert Tuyt17-Aug-02 11:23
Bert Tuyt17-Aug-02 11:23 
GeneralRe: CEdit question Pin
Rohit  Sinha18-Aug-02 1:56
Rohit  Sinha18-Aug-02 1:56 
Questionhow will i know? Pin
drmzunlimited17-Aug-02 10:30
drmzunlimited17-Aug-02 10:30 
AnswerRe: how will i know? Pin
Sijin18-Aug-02 20:23
Sijin18-Aug-02 20:23 
Questioncan anybody help!! Pin
drmzunlimited17-Aug-02 10:25
drmzunlimited17-Aug-02 10:25 

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.