Click here to Skip to main content
15,358,440 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Gerry Schmitz9-Oct-19 9:18
mveGerry Schmitz9-Oct-19 9:18 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)17-Oct-19 6:25
MemberTodd (10789346)17-Oct-19 6:25 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Gerry Schmitz17-Oct-19 15:26
mveGerry Schmitz17-Oct-19 15:26 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Eddy Vluggen17-Oct-19 23:10
professionalEddy Vluggen17-Oct-19 23:10 
AnswerRe: Move to Windows 10 on HP messes up display Pin
jkirkerx10-Oct-19 14:11
professionaljkirkerx10-Oct-19 14:11 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)17-Oct-19 6:32
MemberTodd (10789346)17-Oct-19 6:32 
GeneralRe: Move to Windows 10 on HP messes up display Pin
Dave Kreskowiak17-Oct-19 13:12
mveDave Kreskowiak17-Oct-19 13:12 
AnswerRe: Move to Windows 10 on HP messes up display Pin
Todd (10789346)18-Oct-19 7:31
MemberTodd (10789346)18-Oct-19 7:31 
I appear to have found a solution, and it does not require invoking OS level setting changes.

Through a lot of trial and experimenting, I found the behavior is specifically related to the DataGridView control. Through some research, an old thread proved to have a workable answer: Invoking DoubleBuffered on the control.

The details are on StackOverFlow: [^]

The code is here:
typeof(DataGridView).InvokeMember(
   "DoubleBuffered", 
   BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.SetProperty,
   null, 
   myDataGridViewObject, 
   new object[] { true });
OR
DataGridView1.GetType.InvokeMember("DoubleBuffered", Reflection.BindingFlags.NonPublic Or Reflection.BindingFlags.Instance Or System.Reflection.BindingFlags.SetProperty, Nothing, DataGridView1, New Object() {True})

PraiseBuffer Not Retreive English language Pin
Member 118036078-Oct-19 4:37
MemberMember 118036078-Oct-19 4:37 
AnswerRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 5:18
mveRichard MacCutchan8-Oct-19 5:18 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 5:28
MemberMember 118036078-Oct-19 5:28 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 6:16
mveRichard MacCutchan8-Oct-19 6:16 
GeneralRe: Buffer Not Retreive English language Pin
Member 118036078-Oct-19 7:12
MemberMember 118036078-Oct-19 7:12 
GeneralRe: Buffer Not Retreive English language Pin
Richard MacCutchan8-Oct-19 7:56
mveRichard MacCutchan8-Oct-19 7:56 
QuestionToolTip Does not display(WIN32-API) Pin
Member 118036077-Oct-19 4:51
MemberMember 118036077-Oct-19 4:51 
Questionassing arguments in vb6.0 ? Pin
Member 24584676-Oct-19 23:55
MemberMember 24584676-Oct-19 23:55 
AnswerRe: assing arguments in vb6.0 ? Pin
Mycroft Holmes7-Oct-19 12:40
professionalMycroft Holmes7-Oct-19 12:40 
QuestionCreate Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 4:31
MemberMember 118036076-Oct-19 4:31 
AnswerRe: Create Button(win32) But Not Receive Message Pin
Dave Kreskowiak6-Oct-19 5:04
mveDave Kreskowiak6-Oct-19 5:04 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 5:25
MemberMember 118036076-Oct-19 5:25 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 5:53
mveRichard MacCutchan6-Oct-19 5:53 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 5:59
MemberMember 118036076-Oct-19 5:59 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 6:11
mveRichard MacCutchan6-Oct-19 6:11 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Member 118036076-Oct-19 6:40
MemberMember 118036076-Oct-19 6:40 
GeneralRe: Create Button(win32) But Not Receive Message Pin
Richard MacCutchan6-Oct-19 7:14
mveRichard MacCutchan6-Oct-19 7:14 

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.