|
|
Thank you
|
|
|
|
|
Hi,
I updated from Intellipoint 4.1 to 5.0 but since i don't have the Explore My Computer option for a mouse button assignment i decided to buid my own using the WindowsHookEx and the WH_GETMESSAGE or the WH_MOUSE_LL type for the WM_XBUTTONDOWN and MK_XBUTTON1 to open windows explorer sending the WM_HOTKEY to the Shelltraywindow and it works except for some kind of windows when it opens twice and process message (Back button). Windows like the ones in VS.net tabbed environment, inside a popup menu, some toolbars.
Any ideas will help a lot.
Thanks.
NMiceli
|
|
|
|
|
How to get icon that corresponds to given file extension ?
I can't use SHGetFileInfo because file may be not on my hard drive but on FTP server.
|
|
|
|
|
You can indeed use SHGetFileInfo() . Give it a filename of "foo.xyz" (or whatever extension you're interested in, in place of .xyz) and use the SHGFI_USEFILEATTRIBUTES flag. From the docs:pszPath
...
If the uFlags parameter includes the SHGFI_USEFILEATTRIBUTES flag, this parameter does not have to be a valid file name. The function proceeds as if the file exists with the specified name and with the file attributes passed in the dwFileAttributes parameter. This enables you to obtain information about a file type by passing just the extension for pszPath and passing FILE_ATTRIBUTE_NORMAL in dwFileAttributes.
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0.1! | RightClick-Encrypt
Laugh it up, fuzzball.
|
|
|
|
|
Hi,
How to use C++ code in VB??
plz help me in this regard
Imran
|
|
|
|
|
In short, you can't. What are you trying to do?
A rich person is not the one who has the most, but the one that needs the least.
|
|
|
|
|
Hello there, I want to develop website like www.vistaprint.com, and there is one functionality in site which is changing the content, font color & sizes, alignment of text and images on designed card. I am in search of some plugin, which I can buy and insert into website. The eidtor should be able to enable site visitor to design online visiting card, upload images and can make changes real time in content of card like chnaging the placment of logo and text.
Please visit following link for reference
"http://www.vistaprint.com/vp/ns/text_ls.asp?gp=1%2F23%2F2004+1%3A24%3A10+PM&cid=583493,14604,1&pf_id=088"
Thanks
khalid aziz
|
|
|
|
|
Hello!
I used CDateTimeCtrl in my project. Send value from CTime, and I saw, that CDateTimeCtrl controls displays something different from what is present in CTime object.
What I want to do is to display FILETIME in CDateTimeCtrl, or something similar which supports full formatting of date/time.
So I wrote :
FileTimeToSystemTime
SystemTimeToTzSpecificLocalTime
CDateTimeCtrl::SetTime
and it worked correctly.
Great! .... but SystemTimeToTzSpecificLocalTime is not present Windows 98.
Any ideas?
|
|
|
|
|
emmm, what do you excpect to do exactely
maybe i'm stupid, but i don't understand everything
TOXCCT
|
|
|
|
|
Hi,
I have a question on CString. I want to put a multiline string in a CString variable and I don't want to put all the text in one line. Is there a easy way to do it? What I want is something like following.
CString temp;
temp = "aaaaaaaaaaaaaaaaaaaaaaa
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb
ccccccccccccccccccccccccccccccccccccccc
ddddddddddddddddddddddddddddddddd
ffffffffffffffffffffffffffffffffffffffffffffffffff
fffffffff";
Please advise
|
|
|
|
|
CString temp;
temp = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
"bbbbbbbbbbbbbbbbbbbbbbbb"
"ccccccccccccccccccccccccc"
...
The compiler will automatically concatenate the strings for you (without any runtime overhead - all is done compile time).
--
C'est normal!
|
|
|
|
|
That seem easy to do.
if you want to split a line, you can do this :
CString temp;
temp = "aaaaaaaaaaaaaaaaaaaaaaa"
"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
"ccccccccccccccccccccccccccccccccccccccc"
"ddddddddddddddddddddddddddddddddd"
"ffffffffffffffffffffffffffffffffffffffffffffffffff"
"fffffffff";
you just have to put each lines between "" and that's it, te compiler will automatical concatenate the lines into once.
TOXCCT
|
|
|
|
|
I want to create a button control in the constructor of my CDocument class in an SDI program but I cannot figure out what the parent CWnd should be, as it cannot be '*this' as '*this' return a CDocument.
I have tried using the following code:
m_wndButton.Create("OK",BS_PUSHBUTTON|WS_VISIBLE,rect,::AfxGetMainWnd(),IDD_BUTTON);
but I get an assertion error and when I debug it the error line reads:
ASSERT(pParentWnd != NULL);
It seems as though ::AfxGetMainWnd is returning NULL but I do not understand why.
Can you please advise me what to put in place of ::AfxGetMainWnd() so the parent class is the main frame.
Thank you
|
|
|
|
|
The doc class shouldn't have UI in it. The button should go in the view class (the one that handles UI) and you can create it in either OnCreate() or OnInitialUpdate()
--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0.1! | RightClick-Encrypt
"Linux is good. It can do no wrong. It is open source so must be right. It has penguins. I want to eat your brain."
-- Paul Watson, Linux Zombie
|
|
|
|
|
Hi,
I want to come up with my own scripting languange for Internet Explorer like VB scripting or Java Scripting. Can you give me a hint which areas I should start looking. ???
Thanks
Upake
|
|
|
|
|
|
|
hi
i have a vc++ application exe but donno how to make an installer can anyone help me
|
|
|
|
|
There are many ways of packaging up your software, from the professional InstallShield/Wise[^], to the free InnoSetup[^]. There are sure to be a lot of others if you search around the net.
|
|
|
|
|
|
Hello!
Try to create (vc70) new project "setup and deployment projects" and see what are the posibilities.
In vc60 there is an application called devenv.exe I think... it allows creation of msi files (I used it some time ago)
Hope that it helped
|
|
|
|
|
Hi,
I want to write a application in C++ who can do the following:
- make a telephone call (already done)
- accept/receive a telephone call
- capture the telephone number
The application have to listen (like sockets) if a some is calling me.
But who can I do this ?
Some simple code example would be very appreciated !
Thanks, JohnX
|
|
|
|
|
Anonymous wrote:
The application have to listen (like sockets) if a some is calling me.
But who can I do this ?
Do a search on MSDN for "TAPI Samples". There are plenty that do this. Or do a google, and you'll find some too.
To start you off, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dntapi/html/msdn_ctapic.asp[^]
The hardest part about TAPI is making sure your hardware supports it correctly.
Michael
But you know when the truth is told,
That you can get what you want or you can just get old,
Your're going to kick off before you even get halfway through.
When will you realise... Vienna waits for you? - "The Stranger," Billy Joel
|
|
|
|
|
I am involved in a network monitoring project where I have completed a multiple client chat application by establishing a connection between the client and server using sockets.I would like the server to know what application is being run on the client so that it can monitor the activities of the client.For eg,when I open VC++ to do some thing at the client,at the server I should be able to know this.Please can some one help me about how to proceed to do this.
|
|
|
|