The best way to learn is TO USE ResEdit and see what that program actually do in resource.rc. Then learn to do it manually.
It will be faster, as no forum posting and waiting for somebody to reply will be required.
Then, create a RC file (if you don't already have one) and to it, add this line :
1 24 "manifest.xml"
(The resources compiler must find the XML so complete the path to it if needed)
There is no need to use Microsoft's proprietary tools, and it's fully possible to create good applications using Code::Blocks.
And there is also a possibility to set up Code::Blocks to compile the source code using the Visual C++ compiler without to use visual Studio.
Thats not what I was asking, I was asking how to get the keywords MENU and EDITTEXT to work properly. I cant get a menu to work and edittext only lets me type on one line. I need to know where exactly tbe code for each goes.
Also how do i save the text in the text field? I know its documented on MSDN but it doesnt give all that much information on some things, and it gives you crappy examples. And im trying to makea folder too that accepts files and shows them in the window. I have this in my resource.rc and i notice when i drag a file over the winodw it shows the cursor like you can drop it in there but it doesnt show up. I want it to show the files like a regular folder you would create.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
DLG_MAIN DIALOGEX 6, 5, 600, 300
CAPTION "Code::Blocks Template Dialog App"
FONT 8, "Tahoma"
EXSTYLE WS_EX_ACCEPTFILES | WS_VISIBLE | WS_CHILD
I know im asking to do alot of different things, but i'm making something, a project manager that will help in the designing and management of medium to large scale projects. I was mainly making it to help my company organize game projects but i'll make it for other projects too like school, work and programming. There is more stuff i need to know to complete my program but i'll just work with this stuff for now and make simple programs with them to get used to the syntax and alol that.
Oh and is there a Tabs resource control? to make tabs like in internet explorer?
Process WM_DROPFILES message in your window procedure. i am sure you will find examples on google or msdn.
There is also OLE drag & drop, but it is more complicated than WM_DROPFILES.
Look at propertysheet control to make tabs.
I didnt find much on google, maybe im just using the wrong search terms. But MSDN doesnt have much on it that was useful to me. I sort of did have it working one time, i dragged the files in the folder and the file created a button, but thats not what i want, i want the file to show up exactly as it does on the desktop. The tabs might be a little harder than i thought so i might save those for later. also how do i call the text from the textbox and save it? is there any links on that? tried google and MSDN but there wasnt much info and i kept getting MFC and other weird stuff.
||=== Folder, Debug ===|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp||In function 'BOOL DialogProc(HWND__*, UINT, WPARAM, LPARAM)':|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|26|error: 'HDROP' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|26|error: expected ';' before 'hDrop'|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|28|error: 'hDrop' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|28|error: 'DragQueryFile' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|30|error: 'hDlg' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|30|error: '_T' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|31|error: 'DragFinish' was not declared in this scope|
C:\Users\Chay Hawk\Desktop\C++\Folder\main.cpp|40|error: 'DragFinish' was not declared in this scope|
||=== Build finished: 8 errors, 0 warnings ===|
Please help. Also is there any "For Dummies" books on Windows API programming? Or anything similar thats super easy to understand. If not is there a site that explains all of the Windows API Syntax in depth? MSDN and CPP.com are not good sources. I'm terribly sick right now or else i would look it up myself. Thanks.
Please help me i really need help, i did try doing stuff myself and looking it up on the internet, but stuff on the internet is sometimes too technical for my odd brain to grasp. forget the folder thing. Can someone tell me if there is a Tabs resource control keywotrd, what it is and give me a link to a site that explains it, or just at least tell me what it is. Also how do i get the text in the text fild and save it? I tried something earlier but, shit got crazy and didnt even work.