Windows Programming - November 2010 (Page 2)

by SeBeQ
How to load BMP from file to static control??
Hi! I have no idea to do this!
Nov 23, 2010 at 8:24pm
[2 replies] Last: Thanks very much, it works!!! (by SeBeQ)
Changing a window in new function
Hey guys! I realize this is a pretty dumb question but I am completely oblivious to programming with windows, as my education only taught me some very basic c++...
Nov 23, 2010 at 3:28pm
[5 replies] Last: Thanks! I was very much awaiting a reply telling me I had no idea what... (by Molecular)
by cngata
Abstract Data Types / void * implementation
Here is my code: myheader.h #ifndef MYHEADER_H #define MYHEADER_H #define EMPTY_TOS -1 #define MIN_STACK_SIZE 5 #define FALSE 0 #define TRUE 1 st...
Nov 23, 2010 at 9:20am
[4 replies] Last: I can't see where S is initialised. The ADT functions all assume you ... (by kbw)
calibration with wide baseline using opencv library
Dear all, I had a problem when I used opencv library for calibrating with wide baseline. I can not obtain rectified map using for rectify two images come fr...
Nov 23, 2010 at 6:10am
[no replies]
opencv
I´m working with opencv libraries, i need to put a bmp image in a specific location in a window. how do i do that?
Nov 23, 2010 at 6:02am
[2 replies] Last: you can use: cvSaveImage("location", bmpImage); For example: ... (by stereopsis)
how to call back a functiom using swtich statement in c++
#include <iostream.h> #include <conio.h> int func(int M) switch (int M) { case 1 (M>=100): grade=4; break; default: grade=0; return grade; } void ma...
Nov 23, 2010 at 12:05am
[2 replies] Last: The only thing I can think of to make it better would be code tags! (by freddie1)
by MeLB
Lottery Ticket C++
A lottery ticket buyer purchases 10 tickets a week. always playing the same 10 5-digit "lucky" combinations. Write a program that reads the numbers from an inpu...
Nov 22, 2010 at 11:50pm
[5 replies] Last: /* A Lottery Program which checkscthe winning number, and the buyer ... (by MeLB)
syntax errors?
Do you know what is wrong with this? I get this error window.c:5:30: error: expected ')' before 'hInst' #include <windows.h> LRESULT CALLBACK Wn...
Nov 22, 2010 at 7:31pm
[2 replies] Last: Oh, lol thanks. (by Dark Byte)
WinSock issues
Hey guys I was just wondering how to get winSock to send data over the internet I've tried everything (with the exception of actually forwarding ports) source c...
Nov 22, 2010 at 4:57pm
[3 replies] Last: 1. Use Winsock 2 in WSAStartUp. 2. 3rd parameter to socket should be ... (by kbw)
by luckyl
annoying cmd when running win32 application
When compile a win32 application and open the program a command prompt pops up is there any way to get rid of this? I am not using an IDE I am simply e...
Nov 22, 2010 at 3:36am
[1 reply] : You havn't provided enough info such as what compiler/development envi... (by freddie1)
How to make a Preconfigured program?
Hey, How can i make a Preconfigured program? Im thinking of make a program and let the user add what they want in a separate file in same directory such as conf...
Nov 22, 2010 at 1:11am
[4 replies] Last: What's the problem? If you don't know how to read files, see http://... (by Athar)
Checking key pressed
Hi, I'm using Win32 API making a desktop gadget. This gadget can work in the background. When it is working in the background, it has an idle timer. I wish t...
Nov 21, 2010 at 6:32am
[1 reply] : GetASyncKeyState Although it only lets you check one key at a time. (by Disch)
HWND hwnd [1]; says something about paramaters
So I have this in my code HWND hwnd ; and I get an error message: error: declaration of 'HWND__*hwnd ' shows a parameter. Any way to fix this?...
Nov 20, 2010 at 10:03pm
[3 replies] Last: This is an error: void SomeFunc(int someInt) //formal parameter ca... (by guestgulkan)
Enable XP visuals in Visual Studio 2008
Hi Experts Can anyone please explain to me how i can enable XP visuals in Visual Studio 2008. i am writing a GUI application using the resource editor and W...
Nov 20, 2010 at 2:51pm
[10 replies] Last: Thanks blackcoder41. It worked for me. Thanks a lot. _Adnan_ (by Adnan2)
C to C++
Hi guys, I'm only familiar with syntax in C++ and I have a program here in C that I need to use. I need to edit this code for my needs but I'm having difficu...
Nov 20, 2010 at 5:34am
[2 replies] Last: Hi Secondrate, I just want to make a comment. There isn't rea... (by freddie1)
by luckyl
Win32 Tutorials
were can I find a good win32 tutorial
Nov 20, 2010 at 1:25am
[2 replies] Last: http://www.zetcode.com/tutorials/winapi/ http://www.winprog.org/tutor... (by blackcoder41)
Problems with Dialog Boxes
Hi fellows, I've just started programming with win32 API and I got a problem with the program below. Everytime it's executed it returns -1 value from the Dialog...
Nov 19, 2010 at 7:33pm
[2 replies] Last: Hi Null, Thanks a lot for replying my post. I change my .rc file ... (by Ezequias)
Using opencv, who to put a image in a specific location
I´m working with opencv libraries, i need to put a bmp image in a specific location in a window. how do i do that?
Nov 19, 2010 at 2:59pm
[no replies]
function call under wm_close or wm_destroy
I have this confusion that i cant decide whether to put the functions under WM_CLOSE or WM_DESTROY...the function calls for destroying windows and deleteing bru...
Nov 19, 2010 at 12:56pm
[4 replies] Last: Yeahh..postquitemessage should be under wm_destroy..but i feel stuff l... (by sunny712)
To add Resource Image on Winlogon Window
Hi, I have To add Resource image on Winlogon window Like same as in right Corner of winlogon i have to add ---------- Protected By ABC Eg: Protecte...
Nov 19, 2010 at 11:50am
[2 replies] Last: Thanks Lot For reply... Plz tell me what is MSGINA program? (by ramKrushna)
November 2010 Pages: 1234... 6
  Archived months: [oct2010] [dec2010]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.