Click here to Skip to main content
15,892,809 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: UpdateData for radio buttons ... Pin
Maximilien12-Dec-05 9:59
Maximilien12-Dec-05 9:59 
GeneralRe: UpdateData for radio buttons ... Pin
David Crow12-Dec-05 10:39
David Crow12-Dec-05 10:39 
QuestionC++ using Crystal Reports Pin
dwillms12-Dec-05 4:43
dwillms12-Dec-05 4:43 
AnswerRe: C++ using Crystal Reports Pin
JonEngle12-Dec-05 5:17
JonEngle12-Dec-05 5:17 
GeneralRe: C++ using Crystal Reports Pin
dwillms12-Dec-05 8:39
dwillms12-Dec-05 8:39 
GeneralRe: C++ using Crystal Reports Pin
JonEngle12-Dec-05 9:17
JonEngle12-Dec-05 9:17 
GeneralRe: C++ using Crystal Reports Pin
dwillms13-Dec-05 7:03
dwillms13-Dec-05 7:03 
QuestionLimit to GDI Handles and User Handles Pin
Patje12-Dec-05 3:10
Patje12-Dec-05 3:10 
Hi,

My software is a highly interactive application that uses lots of windows with sub windows (a few hundred windows is not an exception). Not all windows are visible at the same time, but at certain moments the user must be able to quickly switch to another window so I keep the relevant windows invisible and make them visible when needed.
Due to the structure of the software, it is not possible to decrease the number of windows.
Nevertheless I have succeeded to decrease the used pens, brushes, .... Cleaning up the used menu handles and icon handles is planned for the medium- to long-term.

To prevent my application from starving the available GDI and/or User Handles, I want to check the amount of free GDI/User handles (both for the process as for the global system).
I found out that there is a function (GetGUIResources) where you can get the number of used resources, but there does not seem to be a function to get the number of free resources?
Does such a function exist or is there another way of obtaining that value?
Or is there a simple trick to minimize the number of used resources (or to increase the number of available resources)?

Thanks in advance.


Enjoy life, this is not a rehearsal !!!

AnswerRe: Limit to GDI Handles and User Handles Pin
Blake Miller12-Dec-05 4:43
Blake Miller12-Dec-05 4:43 
QuestionCSocket object in Win32 Console Application Pin
ilgale12-Dec-05 2:57
ilgale12-Dec-05 2:57 
AnswerRe: CSocket object in Win32 Console Application Pin
Alex Orovetskiy12-Dec-05 3:20
Alex Orovetskiy12-Dec-05 3:20 
GeneralRe: CSocket object in Win32 Console Application Pin
ilgale12-Dec-05 3:22
ilgale12-Dec-05 3:22 
AnswerRe: CSocket object in Win32 Console Application Pin
khan++12-Dec-05 3:30
khan++12-Dec-05 3:30 
GeneralRe: CSocket object in Win32 Console Application Pin
ilgale12-Dec-05 3:37
ilgale12-Dec-05 3:37 
GeneralRe: CSocket object in Win32 Console Application Pin
khan++12-Dec-05 3:52
khan++12-Dec-05 3:52 
AnswerRe: CSocket object in Win32 Console Application Pin
BadKarma12-Dec-05 4:11
BadKarma12-Dec-05 4:11 
AnswerRe: CSocket object in Win32 Console Application Pin
dicomapi12-Dec-05 8:35
dicomapi12-Dec-05 8:35 
QuestionPhysicalDriveX Pin
Mila02512-Dec-05 2:45
Mila02512-Dec-05 2:45 
AnswerRe: PhysicalDriveX Pin
khan++12-Dec-05 2:51
khan++12-Dec-05 2:51 
GeneralRe: PhysicalDriveX Pin
Mila02512-Dec-05 4:34
Mila02512-Dec-05 4:34 
GeneralRe: PhysicalDriveX Pin
khan++12-Dec-05 19:26
khan++12-Dec-05 19:26 
QuestionHandling streaming data Pin
__makaveli__12-Dec-05 1:56
__makaveli__12-Dec-05 1:56 
AnswerRe: Handling streaming data Pin
khan++12-Dec-05 2:25
khan++12-Dec-05 2:25 
GeneralRe: Handling streaming data Pin
__makaveli__12-Dec-05 2:56
__makaveli__12-Dec-05 2:56 
GeneralRe: Handling streaming data Pin
khan++12-Dec-05 3:24
khan++12-Dec-05 3:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.