|
hi all
i want to add a list control to an sdi application which couldnt be derived fron CListView in the start(while making the software through the wizard)how can i do it and furthermore i want to display icons with each item .... please reply as soon as possible ... and plz tell with explanation as i am a beginner ...
do tell me that where to place the code as well coz i am facing problems in this regard also
take cares and
happy programming
Nauman Ghazi
Bahria University
|
|
|
|
|
Hello All,
I have a bitmap having a set of pixel values arranged in the form of a sine curve. Keeping the starting point, end point and direction of the sine curve intact I want to remove the troughs and crests in the sine curve and make it a straight line.. How to go about it.
Thanks
Rajdeep
|
|
|
|
|
hi all,
I am writing a text file..I am using BHO and when i am trying to write the data in DISPID_NAVIGATECOMPLETE2...it shows an exception and IE is closed..I am opening the file in setsite and closing it in destructor..am i doing something wrong..please help..any pointers and ideas..please..
Himanshu
|
|
|
|
|
hi all,
I am using a BHO and i want to open a popup when IE fires event DISPID_NAVIGATECOMPLETE2...can anyone help me out..any pointers and ideas are welcome..Ur help will be highly appreciated..I am in urgent need..please..
Thanks in advance..
Himanshu
|
|
|
|
|
deaR ALL,
how do i compress or zip files using win32 api or mfc
also can i uncompress those files.
thanx
|
|
|
|
|
Have you tried searching the articles here at CP - I'm sure the effort will reward you. FYI there is no Win32 or MFC support for zip files.
Neville Franks, Author of ED for Windows. www.getsoft.com
Make money with our new Affilate program
|
|
|
|
|
I want a format string convert to float, double. Is it possible?
I think it's possible, just look at the edit control DDX with a float data member(in fact, this is a string to float).
However, I dont know how to do this conversion.
Could u help me? Thanks in advance.
//----------------------
no silver bullet
//======================
|
|
|
|
|
|
|
thanks
I'll check the FAQ first, next time
//----------------------
no pains, no gains
//======================
|
|
|
|
|
:(Hello!,
I have a problem with static function, to access to member variable at same dialog class, both the static function and member variable are class members.
The problem begin when i try compile a program with a function in a AfxBeginThead instruction with errors. I solve that problem, using a static function, but now i can't access a data member variable, of the dialog class of my project.
Please help me!!!
Thank for your collaboration.
greating. mperlera
|
|
|
|
|
Since static functions do not have an implicit 'this' pointer, you cannot access any member (non-static) functions or data from within the static function. However, AfxBeginThread() allows to provide a user-defined parameter to your static thread function. In this case, you can pass in the pointer to the dialog as the user-defined parameter, and then use that within your thread function to get at the members.
Dave
http://www.cloudsofheaven.org
|
|
|
|
|
What you usually do is something like the following:
UINT CMyClass::ThreadFunc(LPVOID p)
{
CMyClass* pMyClass = (CMyClass*)p;
p->SomeNonStaticFunc();
p->DataMember = 0;
...
return 0;
}
void CMyClass::SomeFunc()
{
AfxBeginThread(ThreadFunc, this);
}
--Dean
|
|
|
|
|
Hi folks:
I am trying to implement a program that can capture what I am doing and communicate with a "PC-wall" to instruct them to do the same.
To do this, I want to capture keystrokes and mouse movements/events and relay them over to the PC-wall.
Any good tutorials on how to capture such strokes and store them in script form so I can send it efficiently over the network ? I would also appreciate pointers to the task of unwrapping such a script to create the "replication scenario".
TIA
Ron
|
|
|
|
|
Search for "Real VNC" it's an AT&T program that acts like PCAnywhere and that comes with the full source...
who knows, you can use that program or even you can get the idea from there...
Hope this helps.
|
|
|
|
|
hi
harm harm, this is only for VC 7
so, is there an addin for the VC 6 ? the idea is very cool. msn messenger integrated in the visual studio IDE..
|
|
|
|
|
Is there a way to enable/disable a button whitout using MFC ? I am not really familliar with this type of operation. I've done it successfully for edit control :
<br />
::SendDlgItemMessage(hwndDlg, IDC_KEYPAIRNEWFILENAME, WM_ENABLE, TRUE, 0);<br />
::SendDlgItemMessage(hwndDlg, IDC_KEYPAIRNEWFILENAME, WM_ENABLE, FALSE, 0);<br />
and was expectiong something similar for buttons but everything I tried was unsuccessfull.
Thanks.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
J.-C. Gauthier - http://www.grandmenhir.com/
|
|
|
|
|
I going to show you a way to solve all you problems
Get WTL, in it there is a AtlCtrls.h file, in that there are all the standard controls like CButton
Not only is it easy to use but if you look at the code it wraps the SendMessage stuff. Also has a CString class and Arrays which allows you not to use MFC and it makes things smaller. Once you've used WTL you'll never go back to MFC
WTL is hard to find and I dont have the MSDN site, ask the ATL newsgroup they will know
LostGolfBall
|
|
|
|
|
|
Excellent !
This is exactly what I was looking for
Thanks for your input.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
J.-C. Gauthier - http://www.grandmenhir.com/
|
|
|
|
|
A friend of mine is developing a new TV producion application. He has his own company, and he was working in this area for many years, but rather in design than developing. You can check the sites www.ddrc.net and deepbluetv.com
His new app is finished only for 50-60% now, but it seems that it could break out Sony's bcast (and more). He's also looking for a good talents in this area, but the first problem he has to solve is with his investors. They want to see the presentation (its ok), the source code (he doesn't want to show it all before contract signing, just parts of it) and they also want to see some of his old codes as a reference.
In the old times he was working as a codeveloper of Maya and Xsi, but as the code is a propriety of the owners, he can't get the source (neither of his work) they don't want to give it to him for many "commercional reasons".
So he is looking for a good code, or just parts of a code which can fit the needs, anything about 3D graphics, paint, text, sound editing, tv production, etc.
If there is anyone who can help out with a source code, please contact me at jackye@dracon.sk or UIN 28834215. I don't know what to offer you as repay, I am just a searcher and problem solver. Maybe you can get a good paying job (in Madrid or UK) or any other help. I'll contact yourselves and everything other (the deal) is your business.
Thanks for your patience
Regards
Jackye
|
|
|
|
|
I am writing an app using the DirectX api, when i get hold of a file i'am using the renderfile() method from the IGraphBuilder, then using the MediaControl interface to control the file. But the problem is that i do not want to render the file on screen is there an other way to read the file without rendering the video strem?
Any help would be great as i have had lots of nightless sleep on this.
please... help!
|
|
|
|
|
Render the file to a NullRenderer, which is supplied as a standard Windows renderer. Look under Graph->Insert->DirectShow Filters in GraphEdit.
|
|
|
|
|
Thanks for that, i found some thing about the NullRenderer in the api now, i will give that a go! if i have more questions can i post it to you ?
thankyou for your help
|
|
|
|
|
I dont not have prior knowledge of Visual C++ but only the implementation of normal level C code in it.
Why iam posting the message is to some expert to help me out to decide the project of any kind in Visual C++ as the time required for whole development is 8 months(analysis and development). I must have to do it in Visual C++.
excluding chat server.
|
|
|
|