Click here to Skip to main content
15,891,855 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resource ID not found even though exists Pin
kildareflare13-May-08 0:48
kildareflare13-May-08 0:48 
GeneralRe: Resource ID not found even though exists Pin
Rajkumar R13-May-08 1:11
Rajkumar R13-May-08 1:11 
GeneralRe: Resource ID not found even though exists Pin
Rajkumar R13-May-08 1:07
Rajkumar R13-May-08 1:07 
GeneralRe: Resource ID not found even though exists [modified] Pin
kildareflare13-May-08 2:30
kildareflare13-May-08 2:30 
GeneralRe: Resource ID not found even though exists Pin
Rajkumar R13-May-08 2:48
Rajkumar R13-May-08 2:48 
AnswerRe: Resource ID not found even though exists Pin
Iain Clarke, Warrior Programmer13-May-08 2:01
Iain Clarke, Warrior Programmer13-May-08 2:01 
GeneralRe: Resource ID not found even though exists [modified] Pin
kildareflare13-May-08 3:05
kildareflare13-May-08 3:05 
GeneralRe: Resource ID not found even though exists Pin
Iain Clarke, Warrior Programmer13-May-08 3:39
Iain Clarke, Warrior Programmer13-May-08 3:39 
kildareflare wrote:
So any ideas why they should all be FFFFFFFF?


FFFFFFFF -> -1 -> IDS_STATIC. Your dialog editor will use this by default for static controls, as they don't in general need an ID code. They're just lumps of text plonked on your dialog.

If you want to do something useful with them, then you'd need to add control with a UNIQUE (to that box!) ID so you can use the GetDlgItem function to turn the ID into a HWND/CWnd.

The IDE's dialog editor will complain about any non-unique id except for -1 (said with no actual testing done) which is why it is used.

So, now you know the issue, you can start putting "I'm spanish!" into your dialog boxes to makee sure you're loading the correct ones, and go through them checking that you have assigned IDs properly.

Straightforward, but not speedy work.

Iain.

ps, love the fast show reference, though I usually follow it by "Scorchio!" in my head.

Plz sir... CPallini CPallini abuz drugz, plz plz help urgent.

GeneralRe: Resource ID not found even though exists [modified] Pin
kildareflare13-May-08 4:06
kildareflare13-May-08 4:06 
GeneralRe: Resource ID not found even though exists Pin
Iain Clarke, Warrior Programmer13-May-08 4:20
Iain Clarke, Warrior Programmer13-May-08 4:20 
GeneralRe: Resource ID not found even though exists Pin
kildareflare13-May-08 4:47
kildareflare13-May-08 4:47 
GeneralRe: Resource ID not found even though exists Pin
Iain Clarke, Warrior Programmer13-May-08 5:06
Iain Clarke, Warrior Programmer13-May-08 5:06 
GeneralRe: Resource ID not found even though exists Pin
kildareflare13-May-08 5:12
kildareflare13-May-08 5:12 
GeneralRe: Resource ID not found even though exists -RESOLVED Pin
kildareflare15-May-08 4:58
kildareflare15-May-08 4:58 
Questioncreate bitmap out of bytearray and display it on dialog ??? Pin
cmos12-May-08 23:45
cmos12-May-08 23:45 
AnswerRe: create bitmap out of bytearray and display it on dialog ??? Pin
Rajkumar R13-May-08 0:26
Rajkumar R13-May-08 0:26 
AnswerRe: create bitmap out of bytearray and display it on dialog ??? Pin
Mark Salsbery13-May-08 6:05
Mark Salsbery13-May-08 6:05 
GeneralRe: create bitmap out of bytearray and display it on dialog ??? [modified] Pin
cmos24-May-08 4:18
cmos24-May-08 4:18 
GeneralRe: create bitmap out of bytearray and display it on dialog ??? Pin
Mark Salsbery27-May-08 5:22
Mark Salsbery27-May-08 5:22 
QuestionNeed Help regarding regular expressions in VC 6.0 Pin
Member 372884112-May-08 23:43
Member 372884112-May-08 23:43 
AnswerRe: Need Help regarding regular expressions in VC 6.0 Pin
Rajkumar R12-May-08 23:59
Rajkumar R12-May-08 23:59 
QuestionCan't display dialogbox? Pin
ritz123412-May-08 23:07
ritz123412-May-08 23:07 
AnswerRe: Can't display dialogbox? Pin
ERLN13-May-08 0:15
ERLN13-May-08 0:15 
QuestionRe: Can't display dialogbox? Pin
David Crow13-May-08 2:58
David Crow13-May-08 2:58 
QuestionDoubt in DLL Pin
Hungry Developer12-May-08 22:57
Hungry Developer12-May-08 22:57 

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.