Click here to Skip to main content
15,867,330 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralBitBlt LoadImage Pin
Fade (Amit BS)18-Apr-04 14:19
Fade (Amit BS)18-Apr-04 14:19 
GeneralProjects and solutions Pin
Fade (Amit BS)18-Apr-04 6:40
Fade (Amit BS)18-Apr-04 6:40 
GeneralRe: Projects and solutions Pin
Fade (Amit BS)18-Apr-04 7:38
Fade (Amit BS)18-Apr-04 7:38 
GeneralAdvanced BitBlt problem... Pin
Fade (Amit BS)18-Apr-04 2:05
Fade (Amit BS)18-Apr-04 2:05 
GeneralCreating Application for Website Pin
fargate18-Apr-04 1:17
fargate18-Apr-04 1:17 
GeneralRe: Creating Application for Website Pin
Fade (Amit BS)18-Apr-04 2:12
Fade (Amit BS)18-Apr-04 2:12 
GeneralRe: Creating Application for Website Pin
fargate20-Apr-04 1:17
fargate20-Apr-04 1:17 
GeneralRe: Advanced BitBlt problem... Pin
PaleyX17-Apr-04 15:58
PaleyX17-Apr-04 15:58 
Sorry, this doesn't answer your question but it's a problem on a related note:

when I use this in the Paint event of a form the program hangs when I call DrawString

        <br />
        Dim bmp As New Bitmap(Me.ClientSize.Width, Me.ClientSize.Height, e.Graphics)<br />
<br />
        Dim hdc As IntPtr = e.Graphics.GetHdc()<br />
<br />
        Dim gMem As Graphics = Graphics.FromImage(bmp)<br />
        Dim memHdc As IntPtr = gMem.GetHdc()<br />
        '<br />
        gMem.DrawString(drawString, drawFont, drawBrush, x, y)<br />
<br />
        Dim SRCCOPY As Integer = &HCC0020<br />
<br />
        BitBlt(hdc, 0, 0, Me.ClientSize.Width, Me.ClientSize.Height, memHdc, 0, 0, SRCCOPY)<br />


Rugby League: The Greatest Game Of All.
GeneralRe: Advanced BitBlt problem... Pin
PaleyX17-Apr-04 16:02
PaleyX17-Apr-04 16:02 
GeneralCenter text on an a form using DrawString Pin
PaleyX17-Apr-04 3:47
PaleyX17-Apr-04 3:47 
GeneralRe: Center text on an a form using DrawString Pin
Dave Kreskowiak17-Apr-04 4:37
mveDave Kreskowiak17-Apr-04 4:37 
GeneralRe: Center text on an a form using DrawString Pin
PaleyX17-Apr-04 6:08
PaleyX17-Apr-04 6:08 
GeneralRe: Center text on an a form using DrawString Pin
Fade (Amit BS)18-Apr-04 2:17
Fade (Amit BS)18-Apr-04 2:17 
GeneralRe: Center text on an a form using DrawString Pin
PaleyX18-Apr-04 14:52
PaleyX18-Apr-04 14:52 
Generalget DB schema Pin
Silly Boy17-Apr-04 3:37
Silly Boy17-Apr-04 3:37 
GeneralRe: get DB schema Pin
-Dr_X-18-Apr-04 18:21
-Dr_X-18-Apr-04 18:21 
QuestionDraw on a Picture Box? Pin
Toola17-Apr-04 1:50
Toola17-Apr-04 1:50 
AnswerRe: Draw on a Picture Box? Pin
Fade (Amit BS)17-Apr-04 14:21
Fade (Amit BS)17-Apr-04 14:21 
GeneralVB 6.0 Pin
Anonymous16-Apr-04 22:03
Anonymous16-Apr-04 22:03 
GeneralUnable to start debugger Pin
Qaiser_Awan16-Apr-04 19:44
Qaiser_Awan16-Apr-04 19:44 
GeneralRe: Unable to start debugger Pin
Sarvesvara (BVKS) Dasa18-Apr-04 8:30
Sarvesvara (BVKS) Dasa18-Apr-04 8:30 
Generalshow data using textbox Pin
GaryKoh16-Apr-04 17:49
GaryKoh16-Apr-04 17:49 
GeneralWindows Service Pin
Hemant Mane16-Apr-04 8:38
Hemant Mane16-Apr-04 8:38 
GeneralRe: Windows Service Pin
Dave Kreskowiak16-Apr-04 9:37
mveDave Kreskowiak16-Apr-04 9:37 
QuestionHow to hook events in add-in project Pin
skoizumi2911016-Apr-04 7:02
sussskoizumi2911016-Apr-04 7:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.