|
You can insert any icon you like into your resource file, but don't try to open or edit it inside Visual Studio because it will screw it up. The icon editor only supports up to 256 colour icons. The icon will still work correctly in your application if you don't edit it inside Visual Studio.
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
Hi all,
<asp.net>
I am displaying a image using img tag, i need to edit the image like drawing on the image and saving the edited image.How could i edit and save the image using asp.net.
Regards,
Krish
|
|
|
|
|
You need to write an image editor as an embedded control in IE, then you need to write a web service to copy the images down to the editor, and to send them back up to save at the server.
A lot of work.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Hello
I’m starting working VC;I'm trying to make an explorer application (dialog based), I' ve been revising some articles about the use of tree, list and combo controls, I' ve alredy made the explorer but I don't know how to make a filter to select from a series of diferents formats, and links between the controls so that in the combo you can select an extension, after looking a file, and in the list be shown the documents corresponding to this formats.
please if you can help me I really appreciate it a lot (denishernandezpacheco@hotmail.com)
Thanks denis
|
|
|
|
|
When you populate the control with the names of files, are you using FindFirstFile() ?
"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb
|
|
|
|
|
Hi, how do you go about viewing the source code in a program that I have downloaded?
|
|
|
|
|
adamlowery wrote: Hi, how do you go about viewing the source code in a program that I have downloaded?
Download the source code if it is available.
If its a java program, there are many decompilers that generates the java code out of the byte code.
-Prakash
|
|
|
|
|
Thanks for that. Much appreciated.
|
|
|
|
|
Hi!
What I want to do is to save many (70k+) rtf strings into one file. The problem is that rtf uses \r\n, which causes that only a part of a string is read from the file when I try to load it.
I'd like to avoid reading/writing fixed length block for each string since their length varies from 50 to 1200 characters (plain text, make it x3 in rtf).
If anybody has a way of doing it without saving as text, reading line-by-line and checking whenever it is a predefined separator I'd really appreciate it.
No .Net please (I’m already feeling bad about using MFC and I think I’ll have to send some angry emails to billg@microsoft.com just to feel better).
this:
CStdioFileEx input; //CStdioFile-derived class for Unicode/Multibyte
CStringW theString, temp;
input.open (_T("somefile.txt"),CFile::modeRead);
input.ReadString(temp);
while(theString != definedSeparator)
{
theString.Append(temp);
input.ReadString(temp);
}
just looks bad.
Maciej Lisiewski
"The day that Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners"
-- modified at 8:52 Sunday 8th January, 2006
|
|
|
|
|
Hi,
i need to read XML file in my Dialog window.
how can i do this?
|
|
|
|
|
checkout MSXML set of apis to read XML document.
-Prakash
|
|
|
|
|
In case you don't want to use MSXML, have a look at the TinyXML library:
http://www.grinninglizard.com/tinyxml/index.html[^]
Best regards
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)
|
|
|
|
|
Do anyone know any online
c/c++ or vc++ question sites
where i can get some good
kicking questions
thank you
vikas
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
First kicking question!
do u know google?
and read this
-Prakash
-- modified at 5:24 Sunday 8th January, 2006
|
|
|
|
|
G Gle
My newly born
child who is 5 months old also knows it
Vikas Amin
Embin Technology
Bombay
-- modified at 0:29 Monday 9th January, 2006 
|
|
|
|
|
|
thanks finally
i got some good stuff
Vikas Amin
Embin Technology
Bombay
|
|
|
|
|
Hi all:
I have a tree control with checkbox inside dialog and I added the following message map:
ON_NOTIFY(NM_CLICK, IDC_TREE1, &CCheckBoxDlg::OnNMClickTree1)
And before the CCheckBoxDlg::OnNMClickTree1 finish. I've counted all the checked child items which belonging to specific parent. But it seems that the CTreeCtrl class doesn't take the items I've just check/unchecked into consideration before the NM_CLICK finish. In other words, I always get the item's previous check/uncheck value. How can I do my part after the check/uncheck default processing finished, but still inside NM_CLICK?
|
|
|
|
|
i havea class in my local main int i am trying to make a for loop to look for a empty class to put my data in
grahpic_card gc[10];
int i;
for(i;i<10;i++)
{
if(gc[i].model=="")
{cin>>gc[i].model;}//by the way model is an char[50]
}
but this does not work since the object was created as a local is there any way to make this work?
|
|
|
|
|
I would like to suggest you to buy a good book on C++ and read it
-Prakash
|
|
|
|
|
I suggest Bruce Eckel
yeh its and author name , i dont know if the spell is wrong.
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
He needs it not me.
-Prakash
|
|
|
|
|
Ok prakash
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
|
The MSDN docs say "The path can be specified as a Unicode string or a PIDL" for the BFFM_SETSELECTION message (inside a BrowseCallbackProc function after calling SHBrowseForFolder), but when I send a Unicode string instead of an ansi one it fails. Is the documentation wrong?
|
|
|
|