| Mirage Source http://web.miragesource.net/forums/ |
|
| RTE 91 In BltToDc http://web.miragesource.net/forums/viewtopic.php?f=201&t=4010 |
Page 1 of 1 |
| Author: | jsventor [ Sun Jul 20, 2008 5:20 am ] |
| Post subject: | RTE 91 In BltToDc |
Ok, so I have a set of codes that displays a picture based on the characters class in a picturebox on frmMirage, and here is the code. Code: Call BltClassPic(Class(Int(Parse(10))).Pic, frmMirage.picClass) And the BltClass Sub Code: Sub BltClassPic(ByVal PicNum As Long, PictureBox As PictureBox) With rec .top = PicNum * CLASS_PIC_Y .Bottom = .top + CLASS_PIC_Y .Left = 0 .Right = .Left + CLASS_PIC_X End With With rec_pos .top = 0 .Bottom = CLASS_PIC_Y .Left = 0 .Right = CLASS_PIC_X End With DD_ClassSurf.BltToDC PictureBox.hDC, rec, rec_pos PictureBox.Refresh End Sub I get the RTE 91 on; DD_ClassSurf.BltToDC PictureBox.hDC, rec, rec_pos NOTE: I also tried "val(Parse(10))" nothing :/ |
|
| Author: | GIAKEN [ Sun Jul 20, 2008 6:43 am ] |
| Post subject: | Re: RTE 91 In BltToDc |
Make sure you're loading DX before you start using it. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|