Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

C++ and WinAPI | Forum profile

Forum profile page for C++ and WinAPI on http://www.codeguru.com. This report page is the aggregated overview from a single forum: C++ and WinAPI, located on the Message Board at http://www.codeguru.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "C++ and WinAPI" on the Message Board at http://www.codeguru.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions - C++ and WinAPI (site profile, domain info codeguru.com)
Title: C++ and WinAPI
Url: http://www.codeguru.com/forum/forumdisplay.php?...
Users activity: 2 posts per thread
Forum activity: 33 active threads during last week
 

Posting activity on C++ and WinAPI:

  Week Month 3 Months
Threads: 33 120 368
Post: 56 221 750
 

C++ and WinAPI Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
JohnCz
9
user's latest post:
How do I stop flickering?
Published (2009-11-25 23:30:00)
Vlad, obviously we have difference of opinion. I also respectfully disagree, I did not state that we do not need background being erased in all cases, I stated in majority of cases. As (I think Chinese) saying goes, picture is better than a thousand words: I have attached 2 zip file with four different executables, illustrating your first and second use case. In each case suffix _E denotes CS_HREDRAW | CS_VREDRAW class style used to create...
VictorN
6
user's latest post:
CloseHandle usage doubt?
Published (2009-11-25 07:48:00)
1. What is piArrVal and how is it used? 2. How do you create/update the pi[10] array and what does this magic number "10" mean??
Waterfox
5
user's latest post:
How do I stop flickering?
Published (2009-11-26 02:32:00)
I'm with JohnCz, I have 2 child windows (not inc. controls) that I set to resize when the main window is resized. I have both my main and 2 child windows with their styles set to 0 and I'm having no problems at all when I resize the main window, they're correctly resizing and not flickering at all, one of them is even rendering Direct2D and not having any problems.
sjram
4
user's latest post:
CloseHandle usage doubt?
Published (2009-11-25 04:07:00)
Hi, I am using PROCESS_INFOMATION structure to get process status. I used it as global array variable. PROCESS_INFOMATION pi[10]; So, for every process creation, I incremented the array element. In seperate thread, I am using WaitForMultipleObjects() to get process status. after WaitForMultipleObjects(), i am using for loop to get which process terminated. Code: for(i=0; i<10; i++) { if(Result == (WAIT_OBJECT_0+i)) { pid =...
hypheni
3
user's latest post:
Win32 Project compatibility issues
Published (2009-11-24 12:06:00)
I checked those dll files and after some googling i found that i need to put those dll files inside "c:\windows\winsxs\x86_Microsoft.VC90.CRT_<some random no here>" of the target computer before running the application. so how to generate this directory path at the time of package installation. ?
olivthill2
3
user's latest post:
How do I stop flickering?
Published (2009-11-23 07:57:00)
A common cause of flickering is when the background of a window is painted again. You can avoid it in classical C programming with these three lines in your message loop: Code: case WM_ERASEBKGND: return(1); // Prevent erasing the background to reduce flickering break;
Igor Vartanov
2
user's latest post:
Mfc application killed when...
Published (2009-11-20 06:05:00)
You tell us if it's possible. Who knows your app better than you do? Did you ever attempt to understand what in fact happens in your app? Does it crash on something related to your service, like shared memory, pipe or socket? Or actually gets terminated by OS? Did you try to launch it manually and see if it survives in this case?
nfnt
2
user's latest post:
Localization MessageBoxEx
Published (2009-11-24 04:31:00)
Quote: Originally Posted by olivthill2 Where is the problem? If a user has selected English, in his settings, then it is ok to have "Yes" and "no" instead of "Oui" and "Non", isn't it? The problem is that the application language setting can't be set to french when im using the english OS language. So i guess i won't be able to avoid creating a custom...
hoxsiew
2
user's latest post:
How do I stop flickering?
Published (2009-11-24 09:06:00)
The rule is: never paint the same pixel twice. If you are erasing your background, then drawing on it, you are painting at least some pixels twice and you get flicker. You can either take elaborate steps to ensure that you only paint specific areas at specific times, but that gets complicated quick. A much easier way is to do all your drawing to memory, then when everything is done, paint the memory to the screen in one step. This is known as...
VladimirF
2
user's latest post:
How do I stop flickering?
Published (2009-11-25 13:26:00)
Quote: Originally Posted by JohnCz You need this behavior in some windows but in majority of cases, redrawing is undesirable. I respectfully disagree. There are many cases where you DO need those styles: - if your view is scrollable - if you scale it when window is resized - if you change layout (move / resize controls) This basically leaves only ONE case when you don’t need them: - if you only show whatever part of content fits in the...
 

Latest active threads on C++ and WinAPI::

CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 5 days, 18 hours ago (2009-11-23 07:57:00)  by olivthill2
A common cause of flickering is when the background of a window is painted again. You can avoid it in classical C programming with these three lines in your message loop: Code: case WM_ERASEBKGND: return(1); // Prevent erasing the background to reduce flickering break;
Thread:  Show this thread (13 posts)   Thread info: How do I stop flickering? Size: 578 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How do I stop flickering? :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 2 months ago (2009-09-29 07:45:00)  by antslag
Linker can't find library. Check paths for libraries.
Thread:  Show this thread (3 posts)   Thread info: Problem with DirectInput (DirectInput8Create) Size: 53 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Problem with DirectInput (DirectInput8Create) :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 4 days, 20 hours ago (2009-11-24 05:37:00)  by VictorN
Please, edit your post replacing backslashes with the "normal" slashes in all tags .
Thread:  Show this thread (4 posts)   Thread info: CloseHandle usage doubt? Size: 111 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: CloseHandle usage doubt? :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 6 days, 7 hours ago (2009-11-22 18:44:00)  by ike_pbg
i see, thanks a lot to everyone, i cleared my doubts pretty much, my project is quite simple and the size of the .exe its like 1mg so i think its better to provide static libraries attached to my code than copy the .dll you said before anyways, i would like to hear suggestions and apreciate your comments, what im doing its a game, its a homework from the university, its the debians XJUMP, dont ...
Thread:  Show this thread (11 posts)   Thread info: Win32 Project compatibility issues Size: 592 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Win32 Project compatibility issues :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 5 days, 22 hours ago (2009-11-23 04:09:00)  by olivthill2
I am not sure if it is a good thing to call GetCommandLine() . This will override the content of lpCmdLine . This is a pity since lpCmdLine is already containing your command line. You can see what is in this variable, with Code: FILE *log_fp; log_fp = fopen(log_file, "wt"); fprintf(log_fp, lpCmdLine); fclose(log_fp);
Thread:  Show this thread (3 posts)   Thread info: Using command line help Size: 640 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Using command line help :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 1 week, 1 day ago (2009-11-20 09:40:00)  by olivthill2
Where is the problem? If a user has selected English, in his settings, then it is ok to have "Yes" and "no" instead of "Oui" and "Non", isn't it? Quel est le problème ? Si un utilisateur choisit l'anglais dans sa configuration, il est normal qu'il ait "Yes" et "No" au lieu de "Oui" et "Non", ne croyez vous pas ?
Thread:  Show this thread (7 posts)   Thread info: Localization MessageBoxEx Size: 411 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Localization MessageBoxEx :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 5 days, 14 hours ago (2009-11-23 12:06:00)  by hoxsiew
Handle the WM_SETCURSOR and WM_MOUSEMOVE messages.
Thread:  Show this thread (2 posts)   Thread info: mouse pointer and browser Size: 50 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: mouse pointer and browser :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 11 months ago (2009-01-02 23:01:00)  by Codeplug
http://msdn.microsoft.com/en-us/libr...27(VS.85).a spx http://msdn.microsoft.com/en-us/libr...71(VS.85).a spx http://msdn.microsoft.com/en-us/libr...10(VS.85).a spx gg
Thread:  Show this thread (5 posts)   Thread info: Speech API? speech.h? Size: 517 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Speech API? speech.h? :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 5 days, 19 hours ago (2009-11-23 06:36:00)  by Waterfox
Try GDI+ Too busy to be bothered with a code snippet but look at these http://msdn.microsoft.com/en-us/libr...8VS.85%29.a spx And for loading and displaying an image [ http://msdn.microsoft.com/en-us/libr...8VS.85%29.a spx shouldn't be to hard to display a png instead of a jpg. And yes it supports PNG (as well as a heap of other formats)
Thread:  Show this thread (2 posts)   Thread info: Displaying PNG image on window Size: 586 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Displaying PNG image on window :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
CodeGuru Forums - A Developer.com Community for C++, C#, VB, Java and .NET Solutions
Started 1 week, 5 days ago (2009-11-16 09:18:00)  by hoxsiew
Please don't post multiple identical posts in different forums.
Thread:  Show this thread (3 posts)   Thread info: Waveform Audio Function tutorial Size: 63 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Waveform Audio Function tutorial :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
 

Hot threads for last week on C++ and WinAPI::

C++ and WinAPI
Started 6 days, 7 hours ago (2009-11-22 18:44:00)  by ike_pbg
i see, thanks a lot to everyone, i cleared my doubts pretty much, my project is quite simple and the size of the .exe its like 1mg so i think its better to provide static libraries attached to my code than copy the .dll you said before anyways, i would like to hear suggestions and apreciate your comments, what im doing its a game, its a homework from the university, its the debians XJUMP, dont ...
Thread:  Show this thread (11 posts)   Thread info: Win32 Project compatibility issues Size: 592 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Win32 Project compatibility issues :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 5 days, 18 hours ago (2009-11-23 07:57:00)  by olivthill2
A common cause of flickering is when the background of a window is painted again. You can avoid it in classical C programming with these three lines in your message loop: Code: case WM_ERASEBKGND: return(1); // Prevent erasing the background to reduce flickering break;
Thread:  Show this thread (13 posts)   Thread info: How do I stop flickering? Size: 578 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: How do I stop flickering? :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 1 week, 1 day ago (2009-11-20 09:40:00)  by olivthill2
Where is the problem? If a user has selected English, in his settings, then it is ok to have "Yes" and "no" instead of "Oui" and "Non", isn't it? Quel est le problème ? Si un utilisateur choisit l'anglais dans sa configuration, il est normal qu'il ait "Yes" et "No" au lieu de "Oui" et "Non", ne croyez vous pas ?
Thread:  Show this thread (7 posts)   Thread info: Localization MessageBoxEx Size: 411 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Localization MessageBoxEx :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 4 days, 20 hours ago (2009-11-24 05:37:00)  by VictorN
Please, edit your post replacing backslashes with the "normal" slashes in all tags .
Thread:  Show this thread (4 posts)   Thread info: CloseHandle usage doubt? Size: 111 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: CloseHandle usage doubt? :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 1 week, 1 day ago (2009-11-20 06:02:00)  by VictorN
How to Create Win32 Dialog Based Application (Step By Step) Dialog Boxes http://www.relisoft.com/Win32/windlg.html Well, you'll be able to find more results searching for win32 dialog based application example or something similar
Thread:  Show this thread (3 posts)   Thread info: win32 programming help Size: 590 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: win32 programming help :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 5 days, 14 hours ago (2009-11-23 12:06:00)  by hoxsiew
Handle the WM_SETCURSOR and WM_MOUSEMOVE messages.
Thread:  Show this thread (2 posts)   Thread info: mouse pointer and browser Size: 50 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: mouse pointer and browser :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 5 days, 19 hours ago (2009-11-23 06:36:00)  by Waterfox
Try GDI+ Too busy to be bothered with a code snippet but look at these http://msdn.microsoft.com/en-us/libr...8VS.85%29.a spx And for loading and displaying an image [ http://msdn.microsoft.com/en-us/libr...8VS.85%29.a spx shouldn't be to hard to display a png instead of a jpg. And yes it supports PNG (as well as a heap of other formats)
Thread:  Show this thread (2 posts)   Thread info: Displaying PNG image on window Size: 586 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Displaying PNG image on window :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 5 days, 22 hours ago (2009-11-23 04:09:00)  by olivthill2
I am not sure if it is a good thing to call GetCommandLine() . This will override the content of lpCmdLine . This is a pity since lpCmdLine is already containing your command line. You can see what is in this variable, with Code: FILE *log_fp; log_fp = fopen(log_file, "wt"); fprintf(log_fp, lpCmdLine); fclose(log_fp);
Thread:  Show this thread (3 posts)   Thread info: Using command line help Size: 640 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Using command line help :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."
C++ and WinAPI
Started 1 week, 1 day ago (2009-11-20 06:05:00)  by Igor Vartanov
You tell us if it's possible. Who knows your app better than you do? Did you ever attempt to understand what in fact happens in your app? Does it crash on something related to your service, like shared memory, pipe or socket? Or actually gets terminated by OS? Did you try to launch it manually and see if it survives in this case?
Thread:  Show this thread (2 posts)   Thread info: Mfc application killed when windows service killed Size: 448 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "Re: Mfc application killed when windows service killed :: C++ and WinAPI :: CodeGuru Forums - A Developer.com Community for C+..."

This page was found by:   winapi forum  winapi printer c++