Hi,
I found some code on the net which showed how to print text on a page. I modified it for my use, but i encountered a problem: when the function printed sth, it wrote some weird characters at the...
Type: Posts; User: new_in_c++
Hi,
I found some code on the net which showed how to print text on a page. I modified it for my use, but i encountered a problem: when the function printed sth, it wrote some weird characters at the...
What do you mean by "entirely c++"?
As far as i understand, everything will be solved if i use fstream, right?
But ReadData works for some of the files, while the others fail... What's the explanation of this?
None of them...
EDIT: here's dbgdel.cpp, line:52:
_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
Hi,
I get an unexpected error when debugging my program which is:
Debug Assertion failed: dbgdel.cpp line:52 Expression: _BLOCK_TYPE_IS_VALID
I searched the net but i couldn't find the...
I'm trying to change the background color of a static control (text). I know that this can be normally done by the message WM_CTLCOLORSTATIC, however, the control i'm talking about is the child of...
Hi,
I'm trying to write a program to print some text on a page. I did some research and found out how to achieve it basicly:
PRINTDLG pd;
memset( &pd, 0, sizeof( pd ) );
Hi,
I'm looking for a graphics library which would enable me to create 2d games. Should i use opengl, directx or something else? It would be better if it included functions/methods which ease user...
I'm trying to make a virtual mouse which is controlled by the keyboard. It will be able to emulate mouse clicks and movements(i hope).
Yes, i have already read it. I'm asking how it managed to read keys even though the window was invisible. It hasn't got any of those hooks or low level keyboard procedures.
Last week there was a topic on key loggers. How did it work?
here's some part of the code (from the window procedure)
case WM_KEYDOWN:
switch(wParam)
{
case VK_UP:
pCur.y=pCur.y-10; //I declared pCur as a static POINT//
...
Is there a way to make sure the window runs it's procedure and handles it's messages even if it is inactive or minimized?
Thanks in advance.
how can i do that?
is there a special function to do such a thing?
I would like to set my program so that it executes itself automatically when the computer opens. Does anyone have any idea how i can do this?
Thanks in advance...
How many times more will you say that? I saw you write the same sentence at least 5 times. You really should come up with sth new...
Windows, the OS you are probably using and also the most...
i'm writing for C, but i'm learning c++ at the moment. I'm still not confident at it... So nearly all the "useful" programming i do is C.
Yeah, that's what i'm looking for, but in ResEdit, the size of the window is about 2 times the real one.
I recall sth called "dialog units", could it be because of that? Because as i mentioned...
I'm looking for a visual GUI designer for win32. The thing i want is to learn the coordinates and sizes of the controls i will use. I can't use the built-in designer in Visual Studio, because i would...
i've been programming win32 for a long time and now i would like to make visually advanced windows.
i'm talking about the buttons which change color when the mouse is over them and which have...
I don't know iPhone development, but i can tell you what you should learn next for developing games for windows.
First read some tutorials on win32 (you don't have to know it deeply) and then choose...
I agree to Steve at one point.
If Elysia doesn't know anything on GDI, what is she doing on this thread? And if someone else has declded to learn GDI, is that really her business?
Elysia...
But i didn't define anything, but all my functions take wide characters by default. (i'm using VC++ 2008 at the moment)
An easy to start tutorial on win32:
The Winapi (C Win32 API, No MFC) tutorial