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

C / C++ / MFC

 
AnswerRe: How do I add a custom mimize button? Pin
Tomasz Sowinski24-Jul-01 7:37
Tomasz Sowinski24-Jul-01 7:37 
GeneralTransparentBlt , Win95 ( not supported + problems ) Pin
Leon24-Jul-01 6:25
Leon24-Jul-01 6:25 
GeneralRe: TransparentBlt , Win95 ( not supported + problems ) Pin
24-Jul-01 10:32
suss24-Jul-01 10:32 
GeneralRe: TransparentBlt , Win95 ( not supported + problems ) Pin
Christian Graus24-Jul-01 13:04
protectorChristian Graus24-Jul-01 13:04 
QuestionWhat would be magical about the Control ID of a radio Button? Pin
tm24-Jul-01 6:09
tm24-Jul-01 6:09 
Generalconverting decimal to hexadecimal Pin
24-Jul-01 6:07
suss24-Jul-01 6:07 
GeneralRe: converting decimal to hexadecimal Pin
Not Active24-Jul-01 7:24
mentorNot Active24-Jul-01 7:24 
GeneralDialog problem Pin
24-Jul-01 5:56
suss24-Jul-01 5:56 
i've created a Dialog app using the MFC wizard. now, i want to add to the dialog a tool-bar and a status-bar. so i added this code to onInitDialog():

UINT indicators [3] =
{
ID_PAN1,
ID_PAN2,
ID_PAN3
};

if (!m_status.Create(this))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}
m_status.SetIndicators(indicators, 3);

if (!toolbar.Create(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
!toolbar.LoadToolBar(IDR_TOOLBAR1))
{
TRACE0("Failed to create toolbar\n");
return -1; // fail to create
}

i think its ok, but when i execute the app, i dont see neither the statusbar nor the toolbar

Pliz jelp. thanks
GeneralRe: Dialog problem Pin
24-Jul-01 7:27
suss24-Jul-01 7:27 
Generalthis sample doesnf help me! Pin
24-Jul-01 10:55
suss24-Jul-01 10:55 
GeneralRe: this sample doesnf help me! Pin
Carlos Antollini24-Jul-01 11:10
Carlos Antollini24-Jul-01 11:10 
QuestionID?? Pin
24-Jul-01 5:12
suss24-Jul-01 5:12 
AnswerRe: ID?? Pin
Christian Graus24-Jul-01 13:06
protectorChristian Graus24-Jul-01 13:06 
QuestionSerialize : How can I know if the loading from the file success ??? Pin
24-Jul-01 5:04
suss24-Jul-01 5:04 
AnswerRe: Serialize : How can I know if the loading from the file success ??? Pin
CMFC6.0VS.NETUser24-Jul-01 5:20
CMFC6.0VS.NETUser24-Jul-01 5:20 
GeneralI think you dont understand me. Pin
24-Jul-01 10:23
suss24-Jul-01 10:23 
GeneralRe: I think you dont understand me. Pin
CMFC6.0VS.NETUser27-Jul-01 6:10
CMFC6.0VS.NETUser27-Jul-01 6:10 
GeneralRe: I think you dont understand me. Pin
Matt Gullett27-Jul-01 6:30
Matt Gullett27-Jul-01 6:30 
GeneralHow can you brush your text in yellow ?? Pin
24-Jul-01 10:25
suss24-Jul-01 10:25 
GeneralRe: How can you brush your text in yellow ?? Pin
Carlos Antollini27-Jul-01 6:26
Carlos Antollini27-Jul-01 6:26 
GeneralRe: How can you brush your text in yellow ?? Pin
CMFC6.0VS.NETUser27-Jul-01 6:27
CMFC6.0VS.NETUser27-Jul-01 6:27 
GeneralFilling an HBITMAP with an HICON Pin
24-Jul-01 4:40
suss24-Jul-01 4:40 
GeneralRe: Filling an HBITMAP with an HICON Pin
Tomasz Sowinski24-Jul-01 5:03
Tomasz Sowinski24-Jul-01 5:03 
Generalbit data types Pin
Johnny Starr24-Jul-01 4:28
Johnny Starr24-Jul-01 4:28 
GeneralRe: bit data types Pin
Tomasz Sowinski24-Jul-01 4:34
Tomasz Sowinski24-Jul-01 4:34 

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.