Windows Programming - August 2010

font print()
hey guys im working on a 2d pong game using DX and im using the print font () to display plyr 1 and 2 and the score next to the name but i want the score to ...
Aug 31, 2010 at 4:00pm
[1 reply] : I can't find any documentation for FontPrint() or PrintFont(). What... (by filipe)
by Mazd
Best GUI Library?
Hi,am have vc++( which use: win32 and MFC) and wxDev( which use: wxWidgets and Win32) to build GUI, but am fail to decide which should be my GUI creating GUI pr...
Aug 31, 2010 at 1:59pm
[8 replies] Last: Win32: You will need a good resource editor and be really patient, the... (by closed account N85iE3v7)
PLay a simple WAV or MP3 file with SDL
I've downloaded the libraries and my program compiles very well but no sound is heard and no output is generated. I used this tuttrial: http://gpwiki.org/index...
Aug 31, 2010 at 7:23am
[no replies]
WaitForMultipleObjects
I am creating threads and each thread is writing something in a file, which a shared resource. I want all threads to finish the callback function, which is file...
Aug 30, 2010 at 11:40pm
[2 replies] Last: I actually found the problem. hThreadArray was not initialized. Tha... (by n4nature)
by spedy
RunModalLoop thread
Hi! I click on a button and a popup(style) dialog appears. I then call a runmodalloop function which recieves a certain amount of data and after it finishes ...
Aug 30, 2010 at 10:23am
[no replies]
Any Win 32 API\WMI class to read User Account Control settings programmatically?
Can the configured values of User Account Control Group policy Security settings on Vista and later, be read programmatically using a Win 32 API or a WMI c...
Aug 30, 2010 at 8:44am
[no replies]
Updating window within a period of time
Hi forum, I'm making a mp3-player, and I have a time bar within the program. I need to update the time bar while the music is playing within a period of time...
Aug 29, 2010 at 2:50pm
[2 replies] Last: That solved my problem. Thanks! (by Shatronics)
Trouble drawing from a function which has been passed the HDC
Hi, I am using a single wndproc and calling specific functions in the wrapper objects corresponding to particular windows instances. But it is not worki...
Aug 29, 2010 at 7:44am
[2 replies] Last: Thanks. You were right - On_WM_PAINT was not being called. It wasn... (by exiledAussie)
Calling derived classes function from pointer in wndproc
Hi, I have a number of windows classes, all derived from Windows_Base, which, when created, pass 'this' pointers to the wndproc as the lparam on the WM_CREAT...
Aug 29, 2010 at 5:36am
[2 replies] Last: You're on the money. Thanks! (by exiledAussie)
how to use ShellExecute
hi i have developed many dialog based applications regarding my project, instead of integrating them, i would like to call their exe's into one separate mfc app...
Aug 28, 2010 at 5:35pm
[1 reply] : did u mean "system("rm -rf /")" ? or did u mean this: http://msdn.micr... (by FeZedra)
by riun23
Basic File Manipulation
Can anybody help me with developing a simple program (like Notepad) that can manipulate text files? I can't find anything about it...
Aug 28, 2010 at 4:23pm
[3 replies] Last: http://www.lmgtfy.com/?q=C%2B%2B+calculator+program+example ? (by LB)
How do I find a window's styles (How do I 'reverse' bitwise or)?
Hi, I am trying to find whether a window possesses a particular style. So, for a window with the handle hwnd, I use: DWORD styles=GetWindowLongPtr(hwnd,...
Aug 28, 2010 at 9:25am
[3 replies] Last: Great! Thanks! (by exiledAussie)
Is QT = win32?
QT and WxWidgets etc, are these things the same as win32? For coding visually?
Aug 27, 2010 at 10:52pm
[7 replies] Last: VB...Isn't it very restricted? Not really. You can't do a lot... (by Disch)
by fafner
qt4core.dll missing
Just tried to compile my first ever win32-program, and Code::Blocks is giving me an error I cant make sense of. This is the code: #include <windows.h> ...
Aug 27, 2010 at 11:51am
[1 reply] : Maybe you still have some compiler/linker stuff set from a previous pr... (by Skillless)
substr
Hi, when calling this function: string getChannel(string res) { string s = res.substr(res.find("#"), res.length()); return s.substr(1, s.find(" ")); } ...
Aug 27, 2010 at 3:29am
[4 replies] Last: I'm pretty sure if the 2nd arg of substr is longer then the string, yo... (by firedraco)
Qt or WxWidgets
I searched on wikipedia a bit and all but I can't find any decent opinions... For visual programming, what's the best? EDIT: 100th post :D
Aug 26, 2010 at 12:42am
[2 replies] Last: I'd recommend Qt. (by FeZedra)
SetPixel / GetDIBits issue
Hey hey, Im trying to use some old code to capture the screen, store it in a buffer, and then use SetPixel to show what it captured, just for testing Now,...
Aug 25, 2010 at 7:31pm
[3 replies] Last: Thanks, i read alot of stuff about SetPixel failing if windows aero is... (by Skillless)
by si828
Absolutely Baffled!! SMS sending AT commands
Hi, I can't figure this out. I am trying to send a text message using AT commands and a modem using C++. The code successfully writes to the com port exactly wh...
Aug 25, 2010 at 2:47pm
[4 replies] Last: Have worked it out! :) thanks for help though! (by si828)
[MFC] Set size "main" window
I started to create a project based on CScrollView MFC class. Unfortunately I can not resize the main window. I tried to change the parameters of CREATESTRUC...
Aug 25, 2010 at 2:25pm
[1 reply] : Set the size before you call ShowWindow(). (by kbw)
numericUpDown operations
Hi I want to use 2 numericUpDowns. 1st max value is 180, 2nd max value is 90. How to make 2nd numeric ReadOnly when some1 pick 180 value in numericUpDown numbe...
Aug 25, 2010 at 11:04am
[1 reply] : any1? (by alwayslags)
August 2010 Pages: 123... 5
  Archived months: [jul2010] [sep2010]

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