|
levi`s wrote:
I will have to ban you if you continue to post such questions!
Since you joined recently and this is your sixteenth message I have my doubts.
Oh, Yahoo cannot find any trace of "World Infomatics"
The tigress is here
|
|
|
|
|
you got the right victim. slay now!!
V
|
|
|
|
|
|
Trollslayer wrote:
It looks like my pet has run away. Boo hoo
ohh... i will find that for you .... come on come on ... cho on that guy
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
levi`s wrote:
I have reviewed your profiles
i dont think he's applied for a job in your Company!(World Informatics !)
V
|
|
|
|
|
levi`s wrote:
I will have to ban you if you continue to post such questions!
Who the Hell you are ? I believe you are not System Admin or Moderator here.... How could you ban any body here buddy... this is open forum and every body have right to post his/her problem here.. if you don't like it don't post.... simple like that
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
I think may be my english are not good enough to tell you all my question or problem. So next time hope that I will think carefully when I want to post question at here.
|
|
|
|
|
Dont mind u can post your questions
there is and open forum .
I have a project awaiting for me in
Modbus through serial , but its
schelduled in Octomber 2005 .So if
u can wait till then ....
Just send me an email at
vikas.amin@embin.com
will let u know as soon as i study
the modbus
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
vikas amin wrote:
Dont mind u can post your questions
there is and open forum .
I have a project awaiting for me in
Modbus through serial , but its
schelduled in Octomber 2005 .So if
u can wait till then ....
Nice Way to help other! thats what every one except from good programmer
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Jyhguang wrote:
think may be my english are not good enough to tell you all my question or problem. So next time hope that I will think carefully when I want to post question at here.
No Body NO... I am angry on that guy who is threatening you to ban you from FORUM.... not at you... you can ask any problem related to Visual ++ here
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
Hi,
last week there was a new addition to codeproject, the CRoundButton2 class. This directly cought my attention, since I would like to add skinning and resizing capabilities to our application. But I have still a problem with this class. It can only handle text on the buttons and no overlayed bitmaps.
Why isn't there any Button class with SVG rendering capabilities. I know, I can write one myself and perhaps I will do so, but I find it interesting, since SVG is an accepted standard. There is no basic SVG rendering library available for Windows. You have to make use of adobes product or of the internet explorer. Recently there was a note that the two libraries librsvg and libsvg will join, and with the cairo backend there is also a win32 based output target available.
But I can't believe that there isn't anything currently available to render Buttons with SVG images wihin windows. Something, that is built into GTK/Gnome and QT/KDE since years.
Or, can somebody point me to the right direction? I don't want to make use of all high level features of SVGs, CSS and whatever. Simply render a button from a SVG source and have all button styles like, hoover, pressed, inactive and so on assigned a different SVG.
Best regards
Dirk
|
|
|
|
|
hi, how to display two dialog box at the same time when the dailog based application is build.
|
|
|
|
|
what ?
do you want to do?
did u try the DoModal
CDialogbox dlg1;
dlg1.DoModal();
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
i know that men but i want to display two dialog box at the same time when dialog based application is build.
example: when u build a sample dialog based app , wat u get initially only one dialog . but i want to display two dialog box at the same time when the app is build.
|
|
|
|
|
I think you mean to use both dialogs at the same time. In that case the second one needs to modeless.
Declare the second dialog variable in the first class:
CSecondDialog m_dlgSecond;
In OnInitDialog() of the first:
m_dlgSecond.Create(IDD_DIALOG_SECOND,this);
m_dlgSecond.ShowWindow(SW_SHOW);
this is this.
|
|
|
|
|
how do u access the second dialog class name in the first dialog?
V
|
|
|
|
|
I am afraid I do not get your question.
Do you mean GetClassName(...) ?
It will return #32770 for MFC dialogs.
If you mean how to access second's variables, then make them public, and access them using the object: int a = m_dlgSecond.m_nValue;
this is this.
|
|
|
|
|
khan++ wrote:
It will return #32770 for MFC dialogs.
#32770 is the class for all dialogs, whether MFC is used or not.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
hi,
"Just A Peacefull Thought "
why do you want to get the class name of the dialog box if you can get a handle using the GetDlgItem(IDD_) and can play havoc with it.
try it out.
|
|
|
|
|
khan thanks for ur suggestion its worked but one change is thati created modelesss dialog in heap, in that way its work.
|
|
|
|
|
khan++ wrote:
In OnInitDialog() of the first:
m_dlgSecond.Create(IDD_DIALOG_SECOND,this); //change the id to the real id.
m_dlgSecond.ShowWindow(SW_SHOW);
if i create the second dialog box in OnInitDialog of the first class,while executing it is showing the second dialog box for a second and in abrupt manner(the dialog box moves from the bottom of the screen to the top leaving traces behind) and then the second dialog disappears.
after that the 1st dialog box is shown normally.
how to display the second dialog box continously?
thanx in advance
|
|
|
|
|
As khan++ has told you , you will have to use modeless dialogs for that ,
Here[^] you will find all you need for creating and using modeless dialogs.
"Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill
|
|
|
|
|
hai ,
i guess that you will have to make both the dialogs modeless and GetDlgItem(IDD) will help you to retrieve the handle for the other dialog box in which the IDD is the name you assigned in the resource editor.
BestOfLuk
|
|
|
|
|
Make the two dialog modeless
& use the get the handle to
both the dialogbox.
i hope that solves your mystery
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|