Right..
Now i've removed the WM_KILLFOCUS, WM_SETFOCUS code and used what you recommended.
The game now renders underneath other windows fine!
But now, when i completely switch windows (my game...
Type: Posts; User: Marc
Right..
Now i've removed the WM_KILLFOCUS, WM_SETFOCUS code and used what you recommended.
The game now renders underneath other windows fine!
But now, when i completely switch windows (my game...
Thanks very much Bubba!
That will be easy to implement into my game, i'll have a go and report back.
Thanks again.
Hi, im not sure if i should post this in here or the Windows section.
If its in the wrong place could a mod please move it, thanks.
Im making myself a game and everythings going fine.
Its a...
I did something myself similar to this.
I've just cut it into a console app for you, should compile straight up.
I also commented it so you can see whats going on.
#include <windows.h>...
Take a look into..
GetRawInputDeviceList()
GetRawInputDeviceInfo()
You can get info from USB Keyboard, Mouse and all other HID's connected.
Use MSDN it goes into all the detail you need,...
I've made myself a photo album program and i'm trying to get it to launch the albums into a slideshow created by "Window Picture and Fax Viewer".
I can get it to open and show the first photo in...
Cheers mate.
It worked a treat!
Marc
I'm using WinAPI File functions and can't seem to find a GetFilePointer() type function.
Does one exist?, or do i have to keep track of how many bytes i have read, written, seek'd etc?
Thanks...
Has anyone else noticed that if you create a new text file or whatever, then rename it to whatever.exe, so its 0 bytes you can not delete it?
This happened to me on my Windows XP machine.
I asked...
This is what i do..
1. Create a custom resource called "RT_MANIFEST" without quotes.
2. Name the resource "1" without quotes.
3. Paste in the xml code Ken gave you.
4. Save & Recompile.
You...
Thanks for the reply..
The problem is, i'm getting the texture from within a running program while i'm decoding a video file.
I'm decoding the video then displaying the texture on a quad.
The...
Hi,
I have a LPDIRECT3DTEXTURE8 in the format D3DFMT_YUY2.
When i display it to screen on a quad the colors are all screwed up.
Is there anyway to convert this to an RGB Texture to display it...
Use..
case WM_PAINT:
{
//CODE HERE
}
Thanks for the replys guys.
I never thought about doing it that way!
Luckily all the files that the prog will use should be less than 10mb, so its fine to read it all into memory and sort from...
Hi,
Are there any functions similar to strstr() that can search through a file and return a pointer to that location, so i can then read in the data to a buffer?
Example..
FILE* fFile;...
Thanks for the reply.
I managed to make myself a trainer for HALO!
I just used a program that can scan through the memory of an open process for a value that you enter.
You would then...
Hi,
Does anyone of any info or links on how to insert values into another process's memory?
Like what a trainer for a game does, giving you 99 lives etc.
Ive already trained the game, so i...
I found the error and now i feel like such a dumb @ss!
In the "cx" part of the SetWindow message i was setting the end pixel instead of the width!
Thanks for reading/replying.
Marc
Thanks for replying.
The reason i included no code was because the scroll bar was visible in pic one.
In pic two all i did was move the listbox to the right and the scroll bar didnt show!?.
...
Im trying to add a list box to a MDIChild to be used as a nicklist for a IRC-Client im working on.
Heres PIC-1:
http://www.btinternet.com/~makina/girc1.jpg
As you can see the List here is...
Thanks for the help anonytmouse.
That was exactly what i was missing!
Ok, i have sorted out that problem but now i have another..
LRESULT CALLBACK MDIChildWndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
{
switch(msg)
{
case WM_CREATE:
{
Hi,
I have a problem enabling and disabling certain parts of a menu.
When my MDI Child windows are minimized or not maximized the menu works correctly.
But if they are maximized the menu fails...
Hi
Does anyone have any links to a website with MP3 file information. Such as how to retrieve ID3 tags, Bitrate, and Track Length etc??
I've been searching around for some time now and can't...
You could always use "atoi()" .... Array To Integer.
#include <iostream>
using namespace std;
int main()