|
I want to write a dialog base application, but I want it hide in taskbar. Help me some code!
Thank you very much!
|
|
|
|
|
To do that, specify WS_EX_TOOLWINDOW style for your dialog and remove WS_EX_APPWINDOW.
Note: To remove WS_EX_APPWINDOW style go to your .rc file and remove it manualy.
|
|
|
|
|
Hi,
I am looking at providing a view on a Access Table and have got some COM code that uses OLEDB to access this data. I need to present this data in a VB friendly form out of my COM object for application programmers (my COM object is business layer) but I don't want to simply return an OLEDB recordset.
There seem to be two options, wrap the OLEDB interface in ADO or within a less generic form geared solely around the application programmers point of view. Please can anyone give me pointers as to the pros and cons of each method.
Thanks.
|
|
|
|
|
Please can anyone point me towards any decent MSDE samples/articles in VC++ using ODBC or OLEDB ?
|
|
|
|
|
Has anyone got any idea/samples how to programatically create a new datasource/database within either a
SQL Server or MSDE installation ? I am looking at using either ODBC or OLEDB on a project, but all the
samples that I have looked at assume an empty database has been physically created using the
administration tools.
Any ideas/articles to look at would be welcome.
|
|
|
|
|
Hello everybody!
I need CRect class that work with double or float values.
If you have seen this one, please let me know.
Thanks!
Best regards
Vlad Bychkoff
|
|
|
|
|
I haven't seen one about, but if you can spare a couple of hours, why don't you pull out the source for CRect from the MFC header and source files, and then template it for the different types ?
|
|
|
|
|
I have created a custom control using the 'USER CONTROL'. I have set the style to '0x50b81000'. This creates scrollbars. I need fine control over the scroll bars and the way they look so I need to subclass them. How do I obtain a handle to these scrollbar controls? I will like to reduce the width of the horizontal scrollbar.
thanks in advance
bart
|
|
|
|
|
I am trying to get a pointer to a control in a dialog from a non-Windows class. I would like to update check boxes in a dialog from a parsing class that detects different strings and checks them off in a dialog when received. Do I get a pointer to the base class CWnd or CFrameWnd or CButton class.
|
|
|
|
|
Hi
either make your parsing class a member of your dialog or your dialog a member of your parsing class.
Or use FindWindow(...) from your parsing class.
|
|
|
|
|
Does anyone know how I can import email messages from an Outlook/Outlook Express PST file? I am writing an e-mail client and I need to be able to import Outlook messages. All I need is the raw message itself - preferably as a text file. The Outlook export options don't seem to be up to the job. Can this be done via some MAPI interface for example? If anyone out there has any pointers on how to do this in VC++, then please reply!!!
Regards.
|
|
|
|
|
Hi,
I've created a OCX control that is running from a dialog-app program. I need to access this control ( send messages/events) from another program.
Does anybody have any idea ?
|
|
|
|
|
Hi
Send and Receive the WM_COPY message
|
|
|
|
|
Anyone know any Mp3 related code I could get?
|
|
|
|
|
The Microsoft DirectX 7a SDK does just what you want, however you might not want to distribute DirectX with your app....
|
|
|
|
|
Check out the XAudio SDK. It does EVERYTHING (including streaming over the internet). It's super cleanly written, easy to use, and efficient. It's free. The only "problem" I could see is that it's big: over 200KB for the .lib. It doesn't really need to be that big, but you could chalk that up to the fact that it has a bunch of internet stuff built in too.
I recently checked out about 10 different freeware MP3 decoders. XAudio was by far the best.
Cheers,
Eric
|
|
|
|
|
Can you guys say in a few words what is that thing that Visual C++ has that Delphi/C++ Builder don't? I don't even mention Visual Basic because that's too obvious...
Delphi can do real applications! Do you guys know that Delphi is built with delphi? You're thinking that I use delphi a lot but I don't and the truth is that
I do allmost all of my work in Visual C++ and I do some sporadic things in delphi but I'm aware of the lots of things I could do in delphi/Builder faster and with less efort. However I keep doing it in Visual C++! Dammit...
|
|
|
|
|
>
Can you guys say in a few words what is that thing that Visual C++ has that Delphi/C++ Builder don't?
>
Sure, a user base
|
|
|
|
|
Visual C++ is Microsoft. Uh, I think that's about it.
Really, the fact that it's Microsoft means that they lead the technology, whether they should or not. When they come out with a new feature in the OS, support is rolled into all their application suites at the same time. When they come to market compititors have no choice but to play catchup.
Other than that, I would say Delphi and/or C++ Builder are superior ways to program Windows. Both have well written, truly object-oriented class libraries to encapsulate the Windows API (unlike wierd hybrid thing that MFC is). You're right: you can get stuff done a lot faster with a lot less effort. Also, unlike VB, you suffer no gain in size or loss of speed.
C++ Builder also happens to be one of the most ANSI compliant C++ compilers on the market. Much more compliant than MSVC++. I think Microsoft's compiler technology may be better though. One thing their compiler does that probably nobody else's does is to let you edit code and recompile while debugging without stopping the debugger! Pretty amazing.
|
|
|
|
|
Recently I say a class derived from CEdit that contained a button docked on the right side of the control with the text "..." on it. When the button is pushed, a CFileDialog dialog is displayed. However, I can't seem the find the class anymore. Does anyone know where I can find it??? Thanks
|
|
|
|
|
I do not know what did you see, but you can use COXHistoryCombo from Dundas. There are other controls for browsing available such as combotree for folder browsing etc.
|
|
|
|
|
I found what I was looking for. It is called DDXFile and was writen by P J Naughter.
|
|
|
|
|
I've been trying to figure out how to serialize a CRgn and I can't get it to work right. I know it involes accessing its RGNDATA structure etc, but I can't seem to get it right. Has anyone done this or have any ideas? Thanks in advance.
|
|
|
|
|
DWORD size = GetRgnData(hRgn, 0, NULL);
RGNDATA * pData = (RGNDATA *) new BYTE[size];
GetRgnData(hRgn, size, pData);
WriteFile(hFile, ,,, pData, size,,,);
delete [] (BYTE *) pData;
|
|
|
|
|
I have a multiline edit box with scrolling vertical bars. The user sometimes types lots of text in this edit box. I want the user to know where the end of each page is. So I want to say something like
if this is the 50th line of the edit box
then insert the text 'End of Page' and
make this text smaller and bolder in color
I know how to find every 50th line of text. My question is, how can I change the font for just one line of text in a multiline edit box?
Any response any one can give me will be greatly appreciated.
Sincerely,
Erich J. Ruth
|
|
|
|