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

C / C++ / MFC

 
GeneralRe: Windows 32bit API Pin
5-Dec-00 3:15
suss5-Dec-00 3:15 
GeneralWindows 32bit API Pin
3-Dec-00 6:22
suss3-Dec-00 6:22 
GeneralRe: Windows 32bit API Pin
5-Dec-00 3:14
suss5-Dec-00 3:14 
GeneralIIS 3 Pin
3-Dec-00 3:39
suss3-Dec-00 3:39 
GeneralMissing CWnd Handle Pin
2-Dec-00 11:57
suss2-Dec-00 11:57 
GeneralRe: Missing CWnd Handle Pin
Tim Deveaux3-Dec-00 5:25
Tim Deveaux3-Dec-00 5:25 
GeneralRe: Missing CWnd Handle Pin
3-Dec-00 23:29
suss3-Dec-00 23:29 
GeneralModifying Button Styles Pin
hugoitt2-Dec-00 11:37
hugoitt2-Dec-00 11:37 
I created a button dynamically using Cbutton::Create. How do I modify the button after it's been created or even during creation to modify the window style, for example to give the button a static edge.
Here's my code. I tried using CreateEX, with no luck. Anyone have any ideas?

CRect stButton1;
stButton1.SetRect (1080, 170, 1155, 245);
if ( !m_createSpaceTrack.Create
("BREAK
TRACK",WS_PUSHBUTTON|WS_VISIBLE|WS_CHILD|WS_TABSTOP,stButton1,this,1200) )
{
// Failed to create a control.
AfxMessageBox((LPCTSTR)"Failed to Create SPACETRACK Button1",MB_OK,0); }
GeneralRe: Modifying Button Styles Pin
Tim Deveaux3-Dec-00 6:47
Tim Deveaux3-Dec-00 6:47 
GeneralI need help with CDc!!! Pin
James Bird2-Dec-00 4:29
James Bird2-Dec-00 4:29 
GeneralRe: I need help with CDc!!! Pin
Christian Graus3-Dec-00 13:48
protectorChristian Graus3-Dec-00 13:48 
GeneralDocument , View & Frame Pin
2-Dec-00 3:36
suss2-Dec-00 3:36 
GeneralRe: Document , View & Frame Pin
Tim Deveaux3-Dec-00 7:30
Tim Deveaux3-Dec-00 7:30 
GeneralScreen Capture Pin
1-Dec-00 18:42
suss1-Dec-00 18:42 
GeneralRe: Screen Capture Pin
Suha Aktan4-Dec-00 17:20
Suha Aktan4-Dec-00 17:20 
GeneralExplorer Pin
1-Dec-00 16:23
suss1-Dec-00 16:23 
GeneralMDI Pin
Steve P1-Dec-00 12:26
Steve P1-Dec-00 12:26 
QuestionRedraw notification of dialog members - how? Pin
1-Dec-00 8:02
suss1-Dec-00 8:02 
AnswerRe: Redraw notification of dialog members - how? Pin
1-Dec-00 19:59
suss1-Dec-00 19:59 
GeneralRe: Redraw notification of dialog members - how? Pin
1-Dec-00 23:09
suss1-Dec-00 23:09 
GeneralRe: Redraw notification of dialog members - how? Pin
2-Dec-00 8:17
suss2-Dec-00 8:17 
GeneralRe: Redraw notification of dialog members - how? Pin
2-Dec-00 10:12
suss2-Dec-00 10:12 
GeneralRe: Redraw notification of dialog members - how? Pin
3-Dec-00 9:42
suss3-Dec-00 9:42 
GeneralAccelerators Pin
1-Dec-00 1:13
suss1-Dec-00 1:13 
Generalstl warning Pin
1-Dec-00 0:58
suss1-Dec-00 0:58 

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.