|
Yes..I am doing that.
Appu..
"Never explain yourself to anyone.
Because the person who likes you does n't need it.
And the person who dislikes you won't believe it."
|
|
|
|
|
Hi all,
I m using a ListCtrl of ReportView type.
i have 5 coloumns here.
i want to add checkbox or button in header or in coloumn 4.
please tell me how can i do this.
thanks in advance.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
See here[^]
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
thanks i m already check this article.
this is use number of project in ne application and it is not working properly,
this is use number of class for this.
i have already derived me listctrl from other class.
there is any other easy way to implement this.
please help me.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Did you check this article[^]? Please read section - 2. Adding check box for head ctrl .
Regards,
Jijo.
_____________________________________________________
http://weseetips.com[ ^] Visual C++ tips and tricks. Updated daily.
|
|
|
|
|
I want to add check box other than first coloumn.
IN A DAY, WHEN YOU DON'T COME ACROSS ANY PROBLEMS - YOU CAN BE SURE THAT YOU ARE TRAVELLING IN A WRONG PATH
|
|
|
|
|
Hai!
Suppose a user has to enter some specified characters like only 'A', 'D', 'F'. in an edit box of a dialog, so is there any event handler through which i can check what character is being entered by the user, if the user enters a wrong characer other than the above mentioned i will not allow it.
Thanks !
|
|
|
|
|
you can do it in EN_CHANGE handler.
1. If the user has entered a correct char store it in some string,
2. Check for the next character.
3. if it's valid then replace the string stored earlier with the new one.
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
i want to pack some files with vc++ application.After that i need to edit & copy that files.how i do that.
|
|
|
|
|
pooja_friends wrote: i want to pack some files with vc++ application
Probably i am too old to understand this new terminology... But I am only 20 + years. Are you talking about creating a installshield project. What do you mean by pack some files?
pooja_friends wrote: After that i need to edit & copy that files
Where? How? Why?
You need to google first, if you have "It's urgent please" mentioned in your question.
_AnShUmAn_
|
|
|
|
|
My project is USB based application.Now am keeping files in usb drive.when i need i have copy files from usb to user system then using those files using VC++ code.
Instead of that.i need to packing files with vc++ exe.then copy that files to user system then use that file.How i do that?
|
|
|
|
|
Can you add it in the resource?
|
|
|
|
|
|
|
Naveen's answer would help?
|
|
|
|
|
SetWindowText leaves the old text on the screen and draws the new text on top of it. Using Invalidate() function,i solved this problem. But Dialog is blinking each time when we change the text in the Static control.
How can i avoid it? Pls anyone help me...
|
|
|
|
|
use InvalidateRect() to invalidate just the required area. pass the rect of ur static control to this function.
|
|
|
|
|
its not working. Dialog is not blinking. But it writes the new text on top of old one.
|
|
|
|
|
Could it be that you are using the wrong coordinates with InvalidateRect? How did you get the area of the static?
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
|
|
|
|
|
What is written in the OnCtlColor ? Share that code?
|
|
|
|
|
I am not using OnCtlColor function
|
|
|
|
|
Is it a custom static control? Means have you derived from CStatic and using it?
|
|
|
|
|
s... it is derived from CStatic
|
|
|
|
|
Then most probably you are not clearing the background in the OnPaint
|
|
|
|
|
Hi, I wanted to ask if anyone ever go into this link, which teaches us how to do an Owner Draw Menu.
http://www.codeguru.com/cpp/controls/menu/article.php/c3721/
By following this tutorial, we'll have an Owner Draw Menu. But I don't know where to set so that when my mouse over the menu item[without left click] then the background color wont shaded.
Unless i left click on the menu item, then the background color of the menu Item is shaded as well as show the submenu of it.
Anyone know where do i have to set so that when mouse over it will have the background color of the menu item shaded ??
Any help is appreciated
Regards,
KH
good
|
|
|
|