Search:
Type: Posts; User: Krool
Search:
Search took 0.02 seconds.
-
You seem right. The MS RichTextBox doesn't use EM_SETMARGINS, it only uses EM_SETTARGETDEVICE.
So, how shall we proceed?
My proposal would be to keep using EM_SETMARGINS and just call...
-
Thanks. Should be fixed now.
Ok, but EM_SETTARGETDEVICE should'nt be for margins at all. Why are you passing the margin at lParam ? It's suppossed to be a line width...
-
softv, thranks for bringing this up again.
Should be fixed now.
-
No, the ListView is "SingleLine" in report-mode.
The only way is the tile view mode where the sub-items are each separate lines. But it's similar to icon view.. so no report-mode style.
-
Just replace the OLEGuids.tlb with the latest version to your syswow64 folder.
-
Thanks for your comment.
I'm not willingly exposing it. I assume it's automagically due to DataBindingBehavior set to 1 - vbSimpleBound on some controls..
-
another method worth mention
msgbox DateSerial(vyear,vmonth + 1, 0)
This reduces the - 1 operation and looks cleaner/compact.
-
-
I see your point. I guess that's a behavior change in the underlying richedit library. The msRichTextBox uses richedit v1.0.
-
Thanks for your below suggestion. I think it's not necessary.
The below code would do the same:
With VBFlexGrid1
.ColSort(8) = FlexSortStringNoCaseAscending
.ColSort(6) = FlexSortDateDescending...
-
I hate this printer margin topic on the richtextbox. It was an issue already several times and I thought now it's properly done.
So, do you have a sample demo which shows the different outcomes...
-
Update released.
Bugfix in the .RowPosition() and .ColPosition() property. (thanks to Seniorchef for reporting this)
Now it is a round trip swap instead of a direct swap between index and...
-
There is the RowPos() and RowPosition() properties (and Col resp.) and they already behave like in msFlexGrid.
-
Just for completeness to this thread. Below a small ASM wrapper for cdecl callbacks. (by Paul Caton)
That for example I use for my VBSQLite lib.
Option Explicit
Private Declare Sub CopyMemory...
-
The fix is released.
You only need the MaskColor "active" during the .Add to the ImageList. So you can turn it on before, add picture to the ImageList, then turn off in the next code line.
Btw,...
-
You could try setting the UseMaskColor to true and set the MaskColor accordingly. (You need to check the exact RGB, probably it's only vbWhite value)
EDIT: gonna update the fix with the...
-
Small update release.
Setting .FlexDataSource to nothing will invalidate the grid now and does not cause an immediate redraw anymore.
I got a scenario where that forced complete redraw is...
-
Thanks for the report. I just want to test something.
Instead of
ImageList1.ListImages.Add , "arse", picDragIcon.Image
can you test following ?
Set picDragIcon.Picture = picDragIcon.Image...
-
Unfortunately not. BTNS_CHECK and BTNS_DROPDOWN are not combinable.
-
The MinDate for DTP is 01-01-1900 and MaxDate is 31-12-9999.
1) I have no influence about the appearance on high DPI for the DTP.
2) You may set the today's date at Form_Load.
-
Mith,
it looks like a VB6 bug itself.
When I place a new innocent UserControl on a PictureBox it has the same issue.
Maybe others may comment on this VB6 bug. It should be a known issue...
-
I can't replicate with the OCX or std-exe. Can you bundle a demo?
-
Update released.
The sqlite3 c source was upgraded from version 3.34.1 (2021-01-20) to 3.37.2 (2022-01-06).
-
The sqlite3 c source was upgraded from version 3.34.1 (2021-01-20) to 3.37.2 (2022-01-06).
-
Maybe your PC (non-unicode language settings) is in Arabic, thus DBCS mode is on. That's why you can place "fake" unicode in the VB6 IDE but in fact in other language (non-DBCS mode) will fail ....
-
Use a different font. E.g. Microsoft Sans Serif instead of MS Sans Serif.
-
It's LvwListItem and not anymore ListItem. Also please remove the references to MS common controls.
-
The Text property cannot have the DISPID_TEXT and DISPID_DEFAULT at the same time. Thus the hidden helper property.
DateDblClick - ooh missed that one. However, the MonthView (SysMonthCal32...
-
Update released.
Included the GetTextRange function in the RichTextBox control.
Included [_Default] property in ComboBoxW/FontCombo/VirtualCombo/ImageCombo.
The MS ImageCombo doesn't have a...
-
ComboBoxW - That's a bug! The VB.ComboBox has a hidden [_Default] property that redirects to the Text property. The VB.Label has the same logic and the LabelW control considered that but...
-
The VBFlexGrid control offers an in-built .CellToolTipText property.
-
For example to list all ImageLists available etc. in a property
-
I found out the reason. The (Custom) item raises IPerPropertyBrowsingVB::GetPredefinedStrings with an DispID of 0.
But since the Value property is the default property it also has a DispID of 0......
-
Hi Eduardo,
1) When an app is themed it has no focus rect but it will show focus rects once you use the tab key once on a window. However, this does not work in VB6. That's why the focus rect are...
-
The .DataSource property is not binding for CRUD.
It's just reading a recordset and filling the grid.
-
You shall take VisualStyles.bas from the demo in post #1 of this thread.
-
MaskColor is only applicable for Style = 1 Graphical.
Same with DownPicture and DisabledPicture.
For Style = 0 Normal you can either use Picture or ImageList.
' The image list should contain...
-
It's recommended to use the better Microsoft Sans Serif font instead of MS Sans Serif.
-
Good catch. That's a bug. Fixed now.
Thanks
-
It must be replaced by the .DroppedDown property (get/let).
|
Click Here to Expand Forum to Full Width
|