|
I don't know if MFC wraps the Win32 structure COMMPROP, but this may be what you are looking for. For example you can test: lpCommProp->dwSettableBaud & BAUD_110 to see if the port driver supports that baud rate (or other settings) or not.
|
|
|
|
|
Hi to all,
I am having a problem with message block in ace framework..Could anyone please help me with the same. or, Could anyone please tell me if any general forum for ace framework exist.
Thank you in advance,
Himangshu
I am a learner Always
|
|
|
|
|
I need to hide bluetooth icon/folder in control panel and some bluetooth applications in Start menu whenever bluetooth functionality is switched off. I need to run this as a service using c++. Can anyone help me on this?
|
|
|
|
|
Each tool in Control Panel is represented by a .cpl file in the Windows\System32 folder. The .cpl files in the Windows\System32 folder are loaded automatically when you start Control Panel.
I don't know any direct API to control that, one way is to locate the correspnding CPL file and rename it to some other extension or move to another folder to hide from control panel.
You can use MoveFile API to rename a file. please see a sample snippet for renaming files[^]
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
Thnx for the reply!! I will try to do that way. Can you tell me how to remove a particular menu item from the Start menu?
|
|
|
|
|
In Windows XP, the "Programs" list of start menu is created from two locations.
1. (HOME)\Documents and Settings\All Users\Start Menu\Programs
2. (HOME)\Documents and Settings\_current_user_\Start Menu\Programs
You can check these locations and delete unnecessary items.
Other start menu policies can be configured using registry or gpedit.msc tool.
See the details: Policy settings for the Start menu in Windows XP
[^]
Before doing all these. confirm you're damn sure of doing these things. Because registry edit and deleting start menu items may hard to restore back. So think twice and make sure no-damage to your/cilent's computer
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
I tried doing so but renaming didn't work. I am working on Windows Vista. I think windows vista doesn't allow to rename or move folders from control panel. Any suggestions?
|
|
|
|
|
You need to have administrator privilage to do so (you're trying to modify Windows system directory and files). Run the program as administrator. If UAC need to be prompted to run under elevated privilage, modify Manifest options from Project->Properties as "requireAdministrator"
-Sarath.
"Great hopes make everything great possible" - Benjamin Franklin
|
|
|
|
|
Hi,
I have created a dockable pane in my childframe with a tree control.When I run my application, the dockable pane is nicely created, but the problem is - the splitter of it is not seen until I once click the autohide pane. I am unable to understand the problem.I have posted this problem long back in the same forum, but couldn't get the answer. Please some one let me know as how to intially display the dockable pane with the splitter . I am using the new MFC feature pack,vc9.
Thanks in advance.
Taruni
|
|
|
|
|
I have placed a ComboBox in my ribbon bar. I added an Event Handler but i can't get it to work. When I want to place a URL in the ComboBox i want it to Navigate to the URL in my MFC CHtmlView Program. Any Sugestions on what the event handler should be or what i Should Do
|
|
|
|
|
You'll need to tell the HTML view to Navigate to that URL when it's selected in the combo-box.
Sub-class CMFCRibbonComboBox and override the OnSelectItem method - that's called when the user selects something in the combo-box.
|
|
|
|
|
Hi All
How can i copy Folder complete data to Folder?I have a source folder A which have 10 files and 2 folder.My destination folder B.I want to copy folder A to B.Plz help me
|
|
|
|
|
Hi,
Try using FindFirstFile and FindNextFile to enumerate all files in Folder A, then use CopyFile to copy each found file to Folder B.
(You can use CreateDirectory to create Folder B if it doesn't exist).
|
|
|
|
|
Thanks for reply
can you give me some example?
Plz help me
|
|
|
|
|
Try "Search Messages" for FindFirstFile in this site. There were quite a few examples.
|
|
|
|
|
There is an API called SHFileOperation using which this is possible.
«_Superman_»
|
|
|
|
|
Please read your this post[^] you already know the solution..
I hope it helps..
Regards,
Sandip.
|
|
|
|
|
Please provide the code with full steps.
|
|
|
|
|
Yes sir,
but the problem is you didn't send me the SRS for your application and multilingual application does not specify the complete needs.
BTW, how much are you ready to pay for it?
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Actually, I want a sample application so that I can get some help about how to create a multilingual application. I need elaborated solution in steps. Plz help me.
Thank You
|
|
|
|
|
See here[^]
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
There is nothing that can help me. Plz provide other solutions.
|
|
|
|
|
you went through all the pages the query returned, and didn't find anything.
Strange.
I believe you can get more help by posting specific questions
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
Purish Dwivedi wrote: There is nothing that can help me.
Yeah, right
Purish Dwivedi wrote: Plz provide other solutions.
I guess by solution you mean people doing the job for you ? Then, this is not the right place to ask. Go to www.rentacoder and pay somebody to do the job for you.
|
|
|
|
|
Did you look at Localization[^] section of CP??
I hope it helps..
Regards,
Sandip.
|
|
|
|