|
|
I thought he was referring to device drivers but upon are more careful read I think that he may of meant drives.
Steve
|
|
|
|
|
Stephen Hewitt wrote: I thought he was referring to device drivers but upon are more careful read I think that he may of meant drives.
Me too after reading that Guys Question.. but it seems he require drives name!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
You need to get drive names or driver names
|
|
|
|
|
hi all,
I happened to a problem, I dynamic load a dll in a .exe, and the dll is a MFC regular DLL, when I use LoadLibrary to dynamic load the dll ,run the constuctor of the application object, it display a assert error dialog
ASSERT(AfxGetThread() == NULL),this is the place of asserting.
Is there anyone has thoughts abuot it can tell me,and we can talk abuot it.
thanks a lot.
lijie
|
|
|
|
|
It is difficult to answer, you don't provide enough informations. What you could do, is start your debugger and then, when the program crashes, open the callstack to see from where in your code the problem is coming.
|
|
|
|
|
Did you happenped to the situation I described, It just is this situation,I search it in the internet, and find someone has happed to it, but no solution. I am confuse it,it assert in the constructor, I don't know how to deal with it.
|
|
|
|
|
lj_wml wrote: I happened to a problem, I dynamic load a dll in a .exe, and the dll is a MFC regular DLL, when I use LoadLibrary to dynamic load the dll ,run the constuctor of the application object, it display a assert error dialog
ASSERT(AfxGetThread() == NULL),this is the place of asserting.
Did you try AFX_MANAGE_STATE( AfxGetStaticModuleState()); . This line should be added before calling any MFC related functions.
|
|
|
|
|
Hi guys,
I want to study splitter window applications. Please reply me some links related to source code of splitter window applications.
Thanks in Advance
Velayudhan
|
|
|
|
|
|
|
This may sound Stupip, but, How do I set up this Browser Applet, so that i can return to a forum object I either posed or answered to. At the Moment I have tpo browse tru dozens of pages of new messages generated in my absence, to find back my thread. Surely there must be a better way. While on the subject, I get notified by Automatic email of responses. The URL's Provided do not appear to work.
LateNightsInNewry
|
|
|
|
|
You should post this to "Suggestions" forum.
Best,
Jun
|
|
|
|
|
If you are logged in, click on your user name (in the bar above the Help / Articles / Message Boards / etc menu bar.)
In the Who's Who page for yourself, click on the "Messages posted" link.
Select the post you want.
|
|
|
|
|
Hi all,
I seem to have lost my focus rect! When tabbing to a CButton you would normally expect to see a focus rect drawn on the button. In my app it doesn't. When mousing to it I get the typical XP highlight around it, but the actual dotted line that should also be drawn is missing.
Any ideas?
P.S. Same thing happens to Checkboxes. (I know they are related
Thanks!
|
|
|
|
|
anthonym7 wrote: P.S. Same thing happens to Checkboxes. (I know they are related
Just A Question Are they custom button?.. though it seems it not possible, but just trying!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|
|
anthonym7 wrote: I seem to have lost my focus rect! When tabbing to a CButton you would normally expect to see a focus rect drawn on the button. In my app it doesn't. When mousing to it I get the typical XP highlight around it, but the actual dotted line that should also be drawn is missing.
Just a second, are you doing some kind of event handling in your button click. If so make sure that the focus is not getting shifted there.
For eg: If you are removing an item from list box on button click, then the focus goes there.
|
|
|
|
|
You are correct in that I am doing event handling, but the control does have the focus, it's just not drawing the focus rect. For example, a checkbox control. The focus rect is missing (even with the mouse) but I can toggle the check.
|
|
|
|
|
anthonym7 wrote: You are correct in that I am doing event handling, but the control does have the focus, it's just not drawing the focus rect. For example, a checkbox control. The focus rect is missing (even with the mouse) but I can toggle the check.
Focus rect will be missing if focus is getting shifted to another control. Look at the example that I have given previously.
|
|
|
|
|
As I mentioned in my previous post, the focus is actually on the correct control. The issue was the missing focus rect. The problem was when I switched to comctl v6 my app took on XP theming and my theme specified to not show focus rects !D'oh!!!
Thanks for your suggestions though.
Ant
|
|
|
|
|
anthonym7 wrote: my theme specified to not show focus rects !D'oh!!!
|
|
|
|
|
Whats the simplest way to make winmm.dll pan sound from left to right?
|
|
|
|
|
I find the function WinExec but it can run a programme like word or acrobat reader --WinExec("C:\\...\\word.exe",..);--
but it can't run a word file--WinExec("C:\\...\\a.doc",..);--
PLZ I need;) a solution as soon and thank for your help.;)
|
|
|
|
|
Use ShellExecute() instead.
"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.
"Judge not by the eye but by the heart." - Native American Proverb
|
|
|
|
|
ines ben hamida wrote: but it can't run a word file--WinExec("C:\\...\\a.doc",..);--
CreateProcess .. Winword.exe with filename as Parameter
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
Support CRY- Child Relief and You
|
|
|
|