Hi, I want to know how Visual C++ experts implement these complicated logical relations between visual components of a form. For example when user switch between different radio buttons and you need to en/disable other components or some other tasks. Actually I need some APIs (like EnumChildWindows) or some approaches(which I don't know any!) to make it more covnvenient to do such boring tasks!
reza matinnejad
Posts
-
How to implement Visual component realations -
How to implement visual componenets relationsHi, I want to know how Visual C++ experts implement these complicated logical relations between visual components of a form. For example when user switch between different radio buttons and you need to en/disable other components or some other tasks. Actually I need some APIs (like EnumChildWindows) or some approaches(which I don't know any!) to make it more covnvenient to do such boring tasks!
-
Avoid includei in header filesThank you :)
-
Avoid includei in header filesI am not sure, but I think it is a good idea to do such a thing. Actually I avoid making circular includes in this way.
-
Avoid includei in header filesHi, I prefer not to include any header files in other header files as long as it is possible. But I have problem when I want to use an Enumeration type in a header file, which is defined in another header file. I mean we can introduce classes and structs at the start of a header file, but it is not the case about Enumeration Data Types: struct st1; //correct Class C1; //correct Enum e1; //Incorrect
-
OS Threads SchedulingActually i am working on my program performance. I want to know how much does it take to execute a set of operations in a thread, when 6 threads are running the same set of operations. I hace a timer for each thread, which starts at the beginning of these operations and stops at the end of these operations. but because of time slicing the timer value does not show the time executed by the same thread.
-
OS Threads SchedulingI want to enforce the OS, not to suspend a special thread during execution a set of operations, in a ,multithread program in c++.(all of my threads has the Realtime priority) OS: WinXP IDE: VS 2005
-
Can not see my computer in its workgroup!I am using Win XP. I can not see my computer in its workgroup before there are other computers on the network connected to my computer. As soon as i connect any other computer to my computer, i can see my computer in its wrokgroup!
-
Can not access drives on the local computer!I can not access dirves on my local computer using a UNC address(\\local-computer-name\share-name). Windows XP is installed and i am in my own Workgroup. I also has set 'share this folder on the network' and 'allow network users change my files'. I get the message '\\local-computer-name\share-name' is not accessible,....
-
Access Remote Registery in a domainI can not access HKEY_LOCAL_MACHINE key on a remote computer in the same domain. Both of the machines are logged as Administrator.one of them is running WinXP and one of them is running Win2000.
-
distinguish a DVD-RAM from a flash memory card!How could i distinguish a DVD-RAM from a flash memory card (both are Removable storage drives) in runtime?
-
copying DLL files in Installshield setup errorI am using installshield to copy some DLL files, but it shows a message which says: "The following files failed to Self-Register" what could i do to avoid this message?
-
How to handle changes to a Slider bar by KeyboardI did use Spy, but there are just Key_Down and Key_Up Events. Would you think there is another way except handle Key_Down or Key_Up events?
-
How to handle changes to a Slider bar by KeyboardI want to handle changes to a slider bar which are made by a keyboard!
-
How to handle changes to a Slider bar by Keyboardjust OnNMReleasedCaptureSlider from slider events, but also OnMouseMove but not KeyStroke events.
-
How to handle changes to a Slider bar by Keyboardit is a visual c++ MFC project in Visual Studio .net 2003 IDE.
-
How to handle changes to a Slider bar by Keyboardi have a slider bar and i have used onreleasedsliderbar event to handle its changes. but it is not fired when Keyboard is used to change the bar. How could i handle changes to Slider bar by Keyboard ?
-
How to set display resolutionHow to set display resolution (800*600,1024*...) in runtime?
-
How to Enumerate Disk DrivesHow to enumerate all disk drives on a local computer (hard drives and remoavble disks)?
-
is NetBEUI necessary?I have experienced some malfunctions in networking functions(eventually two near computer can not see each other) when using TCP/IP and NetBEUI both installed on my two dual PCs. Would u think it can be related to NetBEUI?