could you please upload your code? i am sorry but i could not find this SetAlignment API anywhere, not even in MSDN? :confused:
Printable View
could you please upload your code? i am sorry but i could not find this SetAlignment API anywhere, not even in MSDN? :confused:
what the whole project
if it is not possible, then atleast the form/module in which they are declared.
heres the form where the code is
it seems that you are in love with PictureBox. ;)
why are you using PicBox as a commondialog component and a RTB?? :confused: you have to put the RichTextBox component and the CommonDialog Component from the Components Dialog Box. they are shown as Microsoft Rich TextBox Control and Microsoft Common Dialog Control 6.0 in the list respectively.
and Cut-Paste the code i provided to different location "downwards" because you cannot declare TYPES after Subs and Functions. only comments or other subs, functions can appear after them.
i cannot test it because the SendMessageLong API doesnot work on Win 98.
can you explain that post i dont understand what you mean
all right, i changed the form and uploaded it for you.
changes by me:
1 - you used a Picture Box instead of a RTB. i deleted the Pic Box and used RTB instead.
2 - you used PictureBox instead of CommonDialog control. i deleted the Pic Box and used CDC instead.
3 - Added a command button to enable/disable the movement of RTB. please change it according to your use.
4 - just go through the code and you will see the difference i made in your code. it all commented.
hope it helps you. please respond if it does not work for you because i cannot test it since 98 does not support SendMessageLong API.
i think your Vb went weird because i had it set up right to start with
so how do i move the picture box
just checked my form was ok to start with
:mad:Quote:
i think your Vb went weird because i had it set up right to start with
:ehh: is it loading a text file for you?? even in a PictureBox. :wierd:Quote:
just checked my form was ok to start with
the image was loading in a imagebox in the picturebox and my RTB was loading a text file when i used open
***bump****