Try this, I hope it will help you:
Declare Function FindWindow Lib "user32" Alias _
"FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As Long) As Long
Declare Function SendMessage Lib "user32" Alias _
"SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, _...
For answering your first question, No.
I re-take my example:
Exemple: (The | is the width of the cell display at the screen.)
Cell1 content: 123 123 |
Cell2 content: 123 123 | 123 123 123
If I click into the cell:
Cell1 123 123 (123 123 is selected)
Cell2 123 (Only one "123" is selected and...
I have a datagrid.
When I click on a cell, it select the text. (By default, Kind of blue marine rectangle that frame the text.)
If the length of the text is higher than what's is display at the screen, only a part of the cell become "BLUE" and the rest is not display.
Exemple:
Cell1 123...
Is this reference will be include when I create my executable or I need to add "EXCEL.EXE" (It's the reference that I talk about) in my "package deployment"?
I precise that I use "INNO" to create my "setup.exe" and not VB.
How to know the name and complete path of the reference selected in the Available References box, if the path is too long and truncated at the display?
Hi,
I have a datagrid. When I press the rigth button of the mouse in the area of the scroll bar of the datagrid a menu is appearing.
How can I prevent this menu appearing?
Thank you.
OK, thank you for the time you have taken for me. I appreciate. I better understand my problem So I hope I will find a solution ... Or someone else will pick this up for me...
Here is the code:
lpPrevWndProc = SetWindowLong(hWnd, GWL_WNDPROC, AddressOf WndProc)
If I understand well what you explain, I can conclude that if I just click on a cell of DataGrid and I don't change her value and I want to re-use the scrolling immediately, It's not possible to code it (To...
I try to put the code in the "WndProc" function and also in the "MouseWheel" function but "Datagrid.EditActive" is always to FALSE even if not. I don't understand...
Here is my code for the mousewheel:
Private Declare Function WindowFromPoint Lib "user32" (ByVal xPoint As Long, ByVal yPoint...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.