View Single Post
Old Apr 30th, 2005, 3:25 PM   #9
brokenhope
Hobbyist Programmer
 
Join Date: Apr 2005
Posts: 126
Rep Power: 4 brokenhope is on a distinguished road
How can I include the .rc files by hand? I never knew you could.

I just tried

#pragma resource "notepadresource.rc"

and I dont get an error but it doesnt seem to link it either 0_o...

Hmm I found how to do it with the project manager, since navigating throuh the areas by pressing tab, usually they all go in order, but in dev-c++ it jumps around, so it took awhile to found which hidden amount of hitting tabs would finally select the ok button, it turned out it was 9, so I just have to press tab 9 times and hit enter and its submitted, really annoying but works .

So far everything im learning is going well, but man this stuff takes a lot of thought... is it bad that I dont have any of this memorised yet? I still dont know any of the syntaxes of functions, or how to create a window or dialog from memory, I always look at previous code for refrence.

Also I wanna know what the styles I can use are, ive searched google for awhile and ive only seen postbits of other peoples codes, not intended to use as a refrence. MSDN just says WS_* and all that stuff, I dont know any of the * though and thats what I wanna know. Heres what I mean, I have:

STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION

And I want to change its style (its dialogex) the thing im intending to do is make it overlap the window, so it doesnt go behind it when you click somewhere other than the diologe box. But knowing all I can use would be more helpful ^_^.

Last edited by brokenhope; Apr 30th, 2005 at 11:02 PM.
brokenhope is offline   Reply With Quote