|
Richard MacCutchan wrote: What detail? I have given you links to the two features you need to investigate for Win32 controls. You can follow up by checking the documentation for the MFC classes.
I have visited your link but I understood a little. I am bad at Win32 (WinAPI). I only know MFC.
Thanks so much for your help!
|
|
|
|
|
Bee cute wrote: I only know MFC You can still inherit from MFC classes and change their behaviour.
|
|
|
|
|
Richard MacCutchan wrote: You can still inherit from MFC classes and change their behaviour.
Thank you for your enthusiasm so much !
I solved this problem and I have other problem.
Could you tell how to "redraw the thumb" in my skin scroll bar (with ListBox) ?
I don't have a algorithm to solve
This is a mini clip to explain my trouble ! (The thumb isn't moved ????? )
Please help me!
Thanks for all!
|
|
|
|
|
Sorry, this is not something I have tried, and I do not have MFC.
|
|
|
|
|
Hve you solve the problem ? Now you can catch OnLButtonUp on your CMyScrollBar class ?
|
|
|
|
|
Hi ,I want to Restart My Mfc Program In some place,But I dont,t know how to do it.
Thanks
|
|
|
|
|
What do you mean exactly?
Do you need your application to restart itself?
Veni, vidi, vici.
|
|
|
|
|
|
|
I want send a form to web server,but server receive http status 405.Capture http picket like this:
Content-Type: multipart/form-data; boundary=---------------------------1f0727f42ab069
Content-Length: 3182
Connection: Keep-Alive
Pragma: no-cache
Cookie: ...
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="param1"
0
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="Title"
My Title 1500
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="pinzhong"
511355
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="Min1"
1500
-----------------------------7dd2f42cb9030e
Content-Disposition: form-data; name="xingbie"
1
Wait online.
|
|
|
|
|
405 means "Method Not Allowed". You get such a response for example when you send a http request with "POST" method but "POST" is not allowed. I used "POST" just as an example, it could be any of the other methods, even a custom one. The data you pasted to your message is a mime encoded stuff.
If you use pure HTTP and not HTTPS then install WireShark on your machine and capture the full http conversation and post it up here to get more accurate answers. (Use the output of the "Follow TCP Stream" feature of wireshark: you can reach "Follow TCP Stream" when you right click on a TCP capture entry in the list.)
|
|
|
|
|
Hey Guys,
Quick question...
I am using WMI method win32_product::install to install a software(VC++). But it doesn't wait for the installation to complete.
Is there any way to execute this method and wait till it is over? Thanks in advance...
-- Varun
|
|
|
|
|
Hi ,In program somethings of MFC wrote In registry,like Toolbar ,menu,and so on,I want to clean Mfc Toolbar info from the registry,in order to switch version and load different toolbar in different version,How to do it,I use SetRegistryKey(TEXT("Myprogram")),HOw to do it,how to clean the toolbar.
Thanks
|
|
|
|
|
|
Are you referring to the keys/values that are written to HKCU\Software\<company>\<product>\Workspace?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
|
Yes,I wrote it in HKEY_CURRENT_USER\Software\Test\workspace,In workspace,there so many infos,like MFCToolBarParameters,MFCToolBar-593980,MFCToolBar-59392 ,MFCToolBar-169 and so on,I don't know delete what
to only delete toolbar.
|
|
|
|
|
Have you looked at CMFCToolBar::RemoveStateFromRegistry() ?
I ran into this same issue about a year ago. Try searching for "cmfctoolbar registry" and see what comes up.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous
|
|
|
|
|
I have Microsoft Visual C++ 2008. It was a free download.
It refuses to access .rc (resource source-form) files, and thus I must edit my .rc files separately with a text-editor.
Am I right in thinking that I must pay to get a copy of Visual C++ that can edit .rc files? Please where to get such a copy? (I am in England.)
What changes have happened to Visual C++ between the 2008 version and now?
|
|
|
|
|
The free edition of Visual Studio does have a resource editor.
It however does not support MFC or ATL.
So if you're trying to edit an MFC based on ATL based project, the resource editor would fail to load.
The latest version of Visual Studio is 2012 and it contains a lot more features than 2008.
You can buy it here - Buy Microsoft Visual Studio 2012[^]
|
|
|
|
|
Thanks. For Visual C++, at the link that you stated I found links to:-
* Visual Studio Professional 2012 (not free)
* What seemed to be a free download trial version of Visual Studio Professional, but trying to download it got merely a 995-kilobyte file vs_premium.exe .
Please what is the difference between these two versions?
|
|
|
|
|
It is probably the web version.
It will download the rest of the components from the web during install.
|
|
|
|
|
Anthony Appleyard wrote: It refuses to access .rc (resource source-form) files, and thus I must edit my .rc files separately with a text-editor. You get what you pay for, and in this case since it's free you don't get a resource editor. I find that I can manage quite well without one, although creating dialogs can be a little slow. If you want all the features of Visual Studio, including MFC, ATL etc then you need to buy one of the professional editions.
|
|
|
|
|
The Visual Studio C++ Express Editions have no resource editor (as far as I know).
Visual Studio 2012 have a more updated C++ compiler, it contains many features of the new standard ( C++11[^]).
Veni, vidi, vici.
|
|
|
|
|
> The Visual Studio C++ Express Editions have no resource editor (as far as I know).
Before I install this current version, will I have to unintall my Visual C++ 2008?
|
|
|
|