Click here to Skip to main content
15,901,853 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
AnswerI got a compiler error doing this: Pin
ns13-Sep-02 11:07
ns13-Sep-02 11:07 
int CPaletteStatusBar::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CStatusBar::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
	CRect rect(0,0,0,0);

	m_THBImageRainbow.Create("Rainbow", WS_CHILD, rect, this, IDC_THBIMAGERAINBOW);
	
	return 0;
}


I havent drawn the image control anywhere, and the compiler says:

C:\PaletteStatusBar.cpp(43) : error C2065: 'IDC_THBIMAGERAINBOW' : undeclared identifier


So how do I generate this IDC ?

Very confused...Confused | :confused: Unsure | :~ Confused | :confused: Unsure | :~
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 
GeneralRe: Virtual Base Class & Constructor :: C++ Pin
valikac14-Sep-02 7:11
valikac14-Sep-02 7:11 

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.