|
ALQallaf wrote: ...but it did not work
Which means nothing if you don't tell us which part did not work. Your code has no error checking. What does the Send() method return?
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
thank you, it give me an error when i try to run it thats all (Debug Error! abnormal program termination) , i have project i have to make it
|
|
|
|
|
Thank you it has been fixed
the only things that i have trust on my self ,
the problem it was from some parametar
thanks you DavidCrow
|
|
|
|
|
Hi everybody,
First of all, i've tried to find a solution for my problem by searching with google or in other message boards but no one could help me
I am writing a Media Player, in which the user should have the posibility to change the volume of the currently playing track; BUT not the master system volume.
Iam using C++/WinAPI, no MFC...hope you can help me
PS: I use the MCI-API to implement the playback functions
... THANX A LOT!!!!!!!!!!!!
|
|
|
|
|
|
lol, and what about the Windows Media Player or VLC (see: videolan.org) ??
|
|
|
|
|
|
yea ok ok WinAmp, but check this App (it's freeware):
http://www.videolan.org/mirror.php?mirror=http://downloads.videolan.org/pub/videolan/&file=vlc/0.8.4a/win32/vlc-0.8.4a-win32.exe
i think it'S the best example that shows that there is a way to solve it....
|
|
|
|
|
i have a project i recieved which does not compile with 6 errors all relatng to :- atltime.h
i am sure the project was programmed in .net, but is there a "easy fix" to make it backward compatible with visual studio 6.
help please......
|
|
|
|
|
msgm69 wrote: i am sure the project was programmed in .net
Do you mean it was written using managed code? Then no, you can't use VC 6.
If you mean it was written in native code using VS.NET, then you'll have to change the code so it doesn't use classes that were added after VC 6.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
The CBitmapButton has a SizeToContent method which resizes the button to fit the size of the bitmap, I am looking for a way to resize a CButton to fit the size of the label.
Thanks
Andre
|
|
|
|
|
|
I know how to display a CFormView object by calling it from another view. I need, however, to display a form from an "empty" MDI main frame. The application also contains other types of views.
For example, I would like the user to start the application and then open a data file. The data will then be displayed graphically and used to populate a form.
What is the best way to show a form from the main frame window?
Thanks in advance for your help.
|
|
|
|
|
chasetoys wrote: I'd like my application to run in the system tray...
See the second question here.
chasetoys wrote: 1) Is using the MFC too much overhead for this functionality?
2) Is using the MFC overhead in general? Does it waste memory/cycles/etc....?
No to both.
"Let us be thankful for the fools. But for them the rest of us could not succeed." - Mark Twain
"There is no death, only a change of worlds." - Native American Proverb
|
|
|
|
|
Hi,
Answers for more general questions you can find out on
Designed for Windows XP[^]. There is specification and many hints how to write & develop application - recommended by Microsoft.
-----------
Mila
-- modified at 0:57 Thursday 20th April, 2006
|
|
|
|
|
I am new to Pocket PC. I would like to develop some directshow applications on PPC. Would you please give me some advice, such as developing tools, or some website to find help? Thanks.
|
|
|
|
|
Not sure if Gdiplus has this feature but i would like to zoom or have an appearance of zooming. I have an MFC application that views .jpg images. When the image appears on my screen i place a cross bar reticle like
|
_ _
|
I am attempting to do two things.
1. Zoom on the area in the middle of the above reticle
2. Based on a mouse click of any area, magnify or zoom that spot
Anyone with any experience in this area?
|
|
|
|
|
Besides the fact that strcpy is win32 and StrCpy is MFC, what would vary the use of one over the other?
I have an MFC dialog application and if i use StrCpy, it says undeclared. If i use strcpy, i have no problems...
Can anyone shed some light on the uses of the two. Am i maybe missing an include file?
|
|
|
|
|
StrCpy is declared in shlwapi.h
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
|
|
|
|
|
Hi,
I would say look at this link -
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/shlwapi/string/strcpy.asp
cheers
Pk
|
|
|
|
|
LCI wrote: Besides the fact that strcpy is win32 and StrCpy is MFC
strcpy is a CRT function. StrCpy is a Win32 API function.
Regards,
Nish
|
|
|
|
|
LCI wrote: what would vary the use of one over the other?
If you are writing an app that doesn't use the MS CRT (such as an ATL project built with _ATL_MIN_CRT ) then the shlwapi version is a suitable replacement for the CRT version.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | NEW!! PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
|
|
|
|
|
Why is one better than the other?
One is MFC. If you use MFC Code throughout, yo can hope that when MFC64 is fully ported, that your code will recompile with minimum fuss at 64 bit level. That hope would not be nescessarily there if you use win32 Code. conversely, if you use win32 code throughout, you may hope that it will sucessfully compile to 32 bit code on a 64 bit compiler, you have no hope of that if you use MFC Code. In Short, it is all a matter of what you hope for the future. The worst case scenario is of course what all of us do most of the time, and that is mixing up the calls. Doing that means that our code will fail to compile as sooa as the compiler changes.
The question is NOT as foolish as the first respondent would make us believe. Let him throw the First Stone...
LateNightsInNewry
|
|
|
|
|
I write a application in form "Dialog" using Menus:
Option
* TurnMusic
I want that : when user click left mouse on "TurnMusic" menu,
a checked sign is displayed on that.
I write this code :
void CMenusDlg::OnUpdateOptionTurnMusic(CCmdUI* pCmdUI)
{
// TODO: Add your command update UI handler code here
pCmdUI->SetCheck(TRUE);
MessageBox("Checked !","Try Menus",MB_OK);
}
but:
when the program is runned, the checked sign is not displayed and MessageBox is excuted ofcourse!
If i write that Application in form SDI then checked sign is displayed normally.
this is occured similarly when i using hotkey in menu
(or is called : Accelerator)
Why ???
now, i want to write my Application in form "Dialog"
How must i do ?
Could you help me, please !!!
Lgx
|
|
|
|
|