Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SDI dummy question Pin
RobJones13-Sep-02 16:34
RobJones13-Sep-02 16:34 
GeneralWarning level four? Holy sh*... Pin
Paul Oss13-Sep-02 13:23
Paul Oss13-Sep-02 13:23 
GeneralRe: Warning level four? Holy sh*... Pin
Tim Smith13-Sep-02 14:38
Tim Smith13-Sep-02 14:38 
GeneralRe: Warning level four? Holy sh*... Pin
Simon.W13-Sep-02 15:09
Simon.W13-Sep-02 15:09 
GeneralRe: Warning level four? Holy sh*... Pin
Michael Dunn13-Sep-02 16:37
sitebuilderMichael Dunn13-Sep-02 16:37 
Generalpeculiar positioning of image control Pin
ns13-Sep-02 11:42
ns13-Sep-02 11:42 
QuestionMSDN Doc. bug or Control bug with ListView? Pin
Member 91813-Sep-02 11:24
Member 91813-Sep-02 11:24 
QuestionWhere is this ID coming from? Pin
ns13-Sep-02 11:02
ns13-Sep-02 11:02 
I'm following a sample project and they are creating a progressctrl in the staus bar: After defining a progressCtrl object in the mainframe, they have:

int CWzdStatusBar::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CStatusBar::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	CRect rect(0,0,0,0);


	m_WzdProgressCtrl.Create(WS_CHILD|WS_VISIBLE,rect,this,IDC_WZD_PROGRESS);

	return 0;
}


What I'm puzzled by is where is IDC_WZD_PROGRESS generated. They didnt draw it on any dialog or anything. Yet there is an entry

C:\swanke\A31\RESOURCE.H(9):#define IDC_WZD_PROGRESS                104


The only ID_ s I have seen generated have been for a control drawn on some dialog form, and the resource.h gets the entry automatically.

I hope you can see my dilemma,
thanks,
ns
AnswerI got a compiler error doing this: Pin
ns13-Sep-02 11:07
ns13-Sep-02 11:07 
GeneralRe: I got a compiler error doing this: Pin
brianwelsch13-Sep-02 11:11
brianwelsch13-Sep-02 11:11 
GeneralRe: I got a compiler error doing this: Pin
Pavel Klocek13-Sep-02 11:27
Pavel Klocek13-Sep-02 11:27 
AnswerRe: Where is this ID coming from? Pin
Member 91813-Sep-02 11:30
Member 91813-Sep-02 11:30 
GeneralRe: Where is this ID coming from? Pin
ns13-Sep-02 11:38
ns13-Sep-02 11:38 
GeneralControl in status bar Pin
ns13-Sep-02 10:52
ns13-Sep-02 10:52 
GeneralTable/Grid control Pin
Shay Harel13-Sep-02 10:44
Shay Harel13-Sep-02 10:44 
GeneralRe: Table/Grid control Pin
Pavel Klocek13-Sep-02 10:58
Pavel Klocek13-Sep-02 10:58 
GeneralRe: Table/Grid control Pin
Shay Harel16-Sep-02 3:18
Shay Harel16-Sep-02 3:18 
GeneralSaveing a project Pin
Steve Daly13-Sep-02 10:09
Steve Daly13-Sep-02 10:09 
GeneralRe: Saveing a project Pin
Pavel Klocek13-Sep-02 10:17
Pavel Klocek13-Sep-02 10:17 
GeneralRe: Saveing a project Pin
Ryan B.13-Sep-02 10:18
Ryan B.13-Sep-02 10:18 
GeneralFloating Document Interface (FDI) Pin
Ryan B.13-Sep-02 10:00
Ryan B.13-Sep-02 10:00 
GeneralVirtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 9:46
valikac13-Sep-02 9:46 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
Joaquín M López Muñoz13-Sep-02 9:57
Joaquín M López Muñoz13-Sep-02 9:57 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
valikac13-Sep-02 10:03
valikac13-Sep-02 10:03 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
Mike Nordell14-Sep-02 3:43
Mike Nordell14-Sep-02 3:43 

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.