|
Anyway, it's working as it should now. Thanks for the info/heads up!
--
Sancte Míchael Archángele, defénde nos in proélio contra nequítiam et
insídias diáboli esto præsídium. Imperet illi Deus, súpplices deprecámur:
tuque, princeps milítiæ cæléstis, Sátanam aliósque spíritus malígnos, qui
ad perditiónem animárum pervagántur in mundo, divína virtúte,
In inférnum detrude. Amen.
|
|
|
|
|
Hi All,
I have a small problem and i hope that someone out there can really solve it. Please help.. I have a dialog based application in which i did something a long time back which i dont remember so that it should not show the icons and title on task bar..now i need to show it to the user..what i am doing is i am creating a modeless dialog into a modal dialog and i want to show the title of the modeless dialog in the task bar..I hope its easy..but i can not find any solution for it.. Please help me out..i need this to be done..Thanks a lot in advance..
Regards,
Himanshu
|
|
|
|
|
You Need To Change the Dialog's Extended style
Add This ExStyle WS_EX_APPWINDOW to ur Dialog (in OnInitDialog)
For Further Explainations
Click Me[^]
Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
|
|
|
|
|
your dialog is the main window hence the windows is showing its title bar and icon on the task bar, if you could set the main window to the model window.i.e m_pMainWnd then you will get the icon and title bar of the modeless dialog..
But i guess that also makes your modeless dialog as the main appilcation, closing that window maybe will terminate ur application not sure about it, but you can try it out.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
Hello,
How do i enable or add MFC support in my atl service.
i am using VC++ ver6.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
this might help
Click ME[^]
Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
|
|
|
|
|
Thanx i actually wanted to know how to include mfc support in ATL service.
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
I got it here is the link to that.
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q173/9/74.ASP&NoWebContent=1
My God is more powerfull Than Your God. (the line that divides the world)
|
|
|
|
|
Is it possible to adjust the system Volume from an User Interface Application using VC++ code ?
|
|
|
|
|
Click ME[^]
Live as if your were to die tomorrow. Learn as if you were to live forever.
-Mahatma Gandhi
|
|
|
|
|
See if this article helps.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Hi all,
i want to have a windows with menus. these menus call up dialogs. these dialogs should fill the client area and move when i move the window. my dialogs stay where they appear and can be moved seperatly. and other menu items cannot be called until the dialog is closed.
any ideas and code examples?
merry xmas to ya all
;)
|
|
|
|
|
It is not very clear what you want
but from what i make of it you want an SDI application with CFormview and the Form changes when you select something else from the menu or by pressing a button on FormView.
here is good article that explains in detail with sample code
Click ME[^]
|
|
|
|
|
hai everybody.,
Can any say how to convert an CString to an integer value.
I know to convert char buff[20] to an integer thro atoi function.
Meanwhile if any one have any logical ideas or some thing special for convert the CString value to an integer value.
I tried a lot. Thank in previous.,
Bye
Anbudan.,
Shanmuga Sundar.V
|
|
|
|
|
CString str = "123";<br />
int i = atoi((LPCTSTR)str);
This is a valid conversion, CString explicitely supports a conversion to LPCTSTR.
Dominik
_outp(0x64, 0xAD);
and
__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do??
(doesn't work on NT)
|
|
|
|
|
That's the only way i know.
There is wtoi which deals with wide char string to int.
That's it.
@!$h@
|
|
|
|
|
Hi friend ,
it is as smiple as that
CString str="1235678";
int a = atoi(str.operator LPCTSTR());
now try this
"This world is a compliler, I am compiling my life and trying to make it error free "
Abhishek Srivastava
Software Engg (VC++)
India ,Noida
Mobile no 9891492921
|
|
|
|
|
Hi, You can also use the Win32 API (Shell API) function if you want to avoid the CRT (C Run-Time Library) (If you use ATL/WTL for example)
StrToInt(LPCTSTR lpSrc);
Also check the others string functions from Win32 API (Platform SDK) and the Shell API (shlwapi.h). They mimic almost every string function from C++ library.
Geraldo.
|
|
|
|
|
hi everybody,
I followed completely the example
http://www.mathworks.com/support/solutions/data/27671.shtml
and tried to learn the idea but I met some linking problem about it.
Linking...
foowrap.obj : error LNK2001: unresolved external symbol _mxCreateDoubleScalar
Debug/test.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
test.exe - 2 error(s), 0 warning(s)
what can i do in order to settle the linking errors.
and here is another question,
if i plan to call the matlab function
[features, targets] = improved_DA1(x,[cluster,0.95]);
how can i settle such kind of scenario and calling the [ ] in reference with the website tutorial method,http://www.mathworks.com/support/solutions/data/27671.shtml
thank you for your all helping
Vincent Sim
|
|
|
|
|
hello,
Can u pls clear a doubt in DS...I have an UI based application where I am using DirectSound for Audio capture & playback. I used the function DirectSoundFullDuplexCreate8() where I am setting the cooperative level to DSSCL_PRIORITY. .I am passing the Handle of the UI window to the DirectSoundFullDuplexCreate8() function.
But alas, when i minimize this UI window I am unable to hear the captured voice.Does the cooperative level setting got anything to do with the windows handle??I also tried using DSSCL_NORMAL . The same result .
Is there any solution to this. I mean, can i use any other cooperative level or any other way so that even if I minimize the UI window i can playback the captured audio???
regards,
Elza
|
|
|
|
|
Hi,
Can someone tell me how to make all the pop up menu item's access keys underlined always irrespective of whether user right clicks or hits the context menu key .
Thanks in advance.
|
|
|
|
|
On Windows 2000, open the Display applet in Control Panel. Select the Effects tab. Uncheck the Hide keyboard navigation indicators until I use the Alt key option.
Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?
|
|
|
|
|
Thanks for ur response.But how can i do this from code
|
|
|
|
|
Try this:
BOOL a_bSet = TRUE;
SystemParametersInfo( SPI_SETKEYBOARDCUES, 0, (DWORD)&a_bSet, SPIF_SENDCHANGE );
Good luck,
Chris Richardson
|
|
|
|
|