Windows Programming - December 2011 (Page 6)

Get window children
 
Hi What I want to do is removing all the controls of a window when clicking on a button, so I guess I need to get all the children controls of that window, then...
[3 replies] Last: Then use EnumChildWindows() API: http://msdn.microsoft.com/en-us/libr... (by modoran)
by Phiru
Windows 7?? Windows XP?
 
Hi, I was working on a project based on Windows XP. It copied centain files including system files, registery and so on from A PC. And then it copied those fi...
[7 replies] Last: Freedom from the tyranny of memory! (by Catfish)
I got serious problems with Visual c++ and including files.
 
Hello. Im programming a Minesweeper (final project of a programming & algorithm in college), this is my first program using visual c++ so we can say im new o...
[7 replies] Last: Well, I had to restructure my code because all were wrong, I didn't ge... (by wOvalle)
How to pass array elements to called function
 
Hello, I have created the following code for an assignment. The instructions are commented at the beginning. It does work as "required", but I need it to work i...
[3 replies] Last: This has nothing to do with how smart you or I am, it has to do with y... (by NanoBytes)
MCI freezing when trying to play MP3
 
Here is a weird problem, hopefully someone can help... I wrote a program in C++ using MCI to play MP3 and WAV files. On my development laptop, I am able to...
[no replies]
How to edit windows?(buttons,text)
 
i want to make something like spoiler button that when onclicked shows text and when clicked again hides it i can only create the text window please help P...
[8 replies] Last: MSDN has a list of common controls and how to manipulate them here: h... (by Texan40)
by zsukal
Problem with jpeg-8 compiling library
 
Hi. I am download source of library jpeg-8, but i can't not compile it in Visual Studio 2010. I have Output: 1>------ Build started: Project: jpeg-8, Config...
[2 replies] Last: I found my mistake, in the zip file are examples, worked when removed ... (by zsukal)
const char* to char
 
I am making a simple decision-based program. I am using Dev-C++, and I am using a data structure. However, when I end the list of items it gives me an error say...
[3 replies] Last: 1. Sorry, the underscores were what the inputs were, as well as the bl... (by truffly)
Game Speed discrepancies for different computers
 
Hey guys, I have this code for controlling the speed of a simple game written in c++: DWORD time_count = 25; // ms per frame, default if no perfo...
[1 reply] : What i would do is look at the operating system, and the processor typ... (by IWishIKnew)
Weird chars added when open file
 
This is not the first time I have this problem and I just don't get it I have this code char* content; //Declared as a global variable ... ... long len;...
[6 replies] Last: Yeah, webJose and Lamblion are right. (by NanoBytes)
Open a new window (win32) c++
 
Hello! This is my first post so... I want a simple program to open a new window on a button click, and close the old window. The code is below. #includ...
[2 replies] Last: Ok, im was too lazy to actually go through your code and rewrite what ... (by NanoBytes)
by soranz
GetWindowRect(LPRECT lprect) issue...
 
Hi! Just a general question. I have a HWND that I want to pass into GetWindowRect(HWND hwnd, LPRECT lprect) but the compiler is comming up with errors saying i ...
[6 replies] Last: Ahhhh ok ! I think that'll work. U'r a genius thanks !!! :) (by soranz)
Printing using WIN 32 API/GDI
 
I'm using visual studio 2008...and I'm trying to link my code to printer in order to print out the name that user key in...so, anyone can teach me how am i able...
[3 replies] Last: thanksss~~ (by lanceTCT)
Overloading Operators
 
Hey guys, I am writing a C++ program, overloading the operators to multiply a matrix with a scalar.. Example: M = [1 1, 2 2]; N = M * -1; Now, The se...
[3 replies] Last: ECE 264 @ University of Massachusetts: Dartmouth.. lmfao I got it all... (by DizzyThermal)
Static link error
 
Hi everyone, Since i moved to vs2010 i'm having this annoying link error 2001. I declared some static const class members in my class and usually this error c...
[6 replies] Last: my fault... I have this defiened #if defined VX_WINDOWS #ifdef ... (by closed account ozqpfSEw)
by dds
launch a thread from a class
 
Hi! I'm trying to launch some threads from an object with methods. I need the thread can access to some variable and synchronization parameter defined like atri...
[1 reply] : When you use class static member data, not only do you have to define ... (by kbw)
BS_AUTOCHECKBOX always returning UNCHECKED state
 
I have a checxkbox created with CreateWindowEx HWND checkbox = CreateWindowEx(0, "BUTTON", "Click here to activate", BS_AUTOCHECKBOX|WS_VISIBLE|WS_CHI...
[4 replies] Last: You can also try this -- if(LOWORD(wParam)==CCK_ACTIVATE && HIWORD... (by Lamblion)
by focit
reading a .dat file
 
My assignment asks to take a data file full of numbers: 4 12 43 23 23 53 98 -43 0 I can open and read the file, but need to make a multi dimensional array...
[1 reply] : int i getfile >> i; http://cplusplus.com/reference/iostream/istrea... (by bbgst)
by Phiru
progress bar with copyfile??
 
Hi. I am using CopyFile(source, dest, flag) and I want to show current process on progressbar control. As I found, I need to use Thread or call back function....
[3 replies] Last: Thanks I got that!! (by Phiru)
How do I directly reference a Bitmap resource within a DLL?
 
Hi everyone I'm trying to create a taskpad for an MMC application that I'm developing, and I'm trying to reference a Bitmap image directly inside a DLL. T...
[2 replies] Last: Thanks for the reply, however LoadImage and Load Resource won't allow ... (by AnthonyC)
December 2011 Pages: 1... 4567
  Archived months: [nov2011] [jan2012]

This is an archived page. To post a new message, go to the current page.