oh yeah. same result anyway :)
Type: Posts; User: Kibble
oh yeah. same result anyway :)
it has to be static:
class CppAppWnd
{
//your stuff
static LRESULT CALLBACK CppWndProc(...);
//more of your stuff
};
thats an interesting setup of switch statements:confused:
before i used to make my toolbars programmatically, but now i'm trying to use the resource editor. i used to use bitmaps like STD_FILESAVE and STD_COPY and things like that. but with the resource...
thanks, that first link has an amazing page
http://www.foosyerdoos.fsnet.co.uk/
how do you make tabs in the resource editor? i don't understand how you make them, since you can't set which oens are for which tab and stuff.
specifically this type of file i/o:
ifstream aFile ("blah", ios::binary)
i don't actually have linux and i know nothing about it and can't test it, i just want to leave the option open in the...
how do i add a line of text in a edit control? i can only seem to set the first line, it is a mutiline edit control.
oh ok, thanks. i didn't realize i needed to make another window with the client edge inside it
if you redefine a virtual function does your redefine code get added to the original function or does it replace it?
does not work. it does create an inner set-in edge, but my toolbar and status bar are inside it, which is wrong. how do i make it enclose the inner area that doesn't have any controls in it yet?
i think so, i just think it would make the code cleaner if i coudl do it with HWNDS.
because the IDirect3DDevice->Present has 4 arguments, like Present(RECT source, RECT dest, HWND deviceWindow, and something else).
if i have 4 hwnds i can simply just send it the hwnd i need to...
i lot of times when i press the 'save all' or 'save' button it says 'cannot save because the file is in use' or something like that. the wierd thing is if one of them doesn't work, the other will. so...
i have made my menu and toolbars, and now i have a big rectangle in the middle for 4 views for a game editor. i need to somehow split them up into 4 hwnds that i can do a d3dpresent to, but i don't...
to do this, i just used trig to calculate the look at point in front of the point by the angles.
oh well, now that i think about it things could get realllly screwed up. if you allocated an array 'x' with 10 elements and then array 'y' took up the space afterwords, and then reallocated x for 20...
is there an equivilent to C's realloc? i think i may want to experiment with it and see if i can make a dynamically sized random access array, but i also think it might get fragmented, so arrays no...
thanks, with a little fiddling that is working now :)
i'm going to go read up on templates before i try to understand that, thanks :) west coast? its 12:50 for me too, heh.
i'm not exactly sure what i'm looking for but here goes.
i've started making an editor for an engine that i started making, it supports meshes and textures so far, but i have no editor for it....