August 18, 20169 yr Shameless plug, check out my PinMe!... https://tuts4you.com/download.php?view.3551 SetWindowLongPtr_(hWnd, #GWL_EXSTYLE, GetWindowLongPtr_(hWnd, #GWL_EXSTYLE) | #WS_EX_LAYERED) SetLayeredWindowAttributes_(hWnd, #Null, hOpacity, #LWA_ALPHA) Ted.
March 31, 20178 yr Author Hey guys, have a new small question about Listview.So I have created a LV and inside I do store large text parts into which are larger than 256 bytes and of course I cant see the enrire string at once in the LV.So the problem is,if I go with the mouse at one entry then windows does show the string (tooltip or so) so long till I am with the mouse on it similar like in Explorer so you know what I mean right.So it does show the string temporary but also there it dosent show the entire string only 259 byte lenght of this string so there is any limit.My strings are larger and the rest will not shown in this case.Is there a way to change this limit to a higher value like 1024 etc to let show the whole string?Just temporary of course for my LV only.So I dont wanna create any new or own tooltip and just wanna bypass this limit of 259 bytes anyhow.Is that possible? Thank you
March 31, 20178 yr Think its limited at 260 which is the same as MAX_PATH (259 chars + null terminating char)
March 31, 20178 yr Author Yes I think too fearless.Really no temporary way to increase this limit? PS: Or is there a way to disable the tooltip info for my LV?Would also be ok with that solution if it can not show the entire string. greetz
April 1, 20178 yr lemme look up the transparent thing for you, i did it in a pid plugin.. i'll reply in a moment for the listview try the LV_EX_DOUBLEBUFFER flag in its window creation - it kills a LOT of flicker.. the scroll thing i encountered, too to handle you need to process the messages for scroll, the invalidate rect on the whole thing is also incredibly wasteful
April 1, 20178 yr here you go https://msdn.microsoft.com/en-us/library/windows/desktop/ms633540(v=vs.85).aspx
April 1, 20178 yr Author Hi again, the transparent thing I did already get working after Teds post (also if I dont remember it anymore) but thanks again.The LV_EX_DOUBLEBUFFER is also good and use it for long time now.I also dont have any LV flicker problems anymore so far and also dont use any invalidate rect APIs which makes it extra bad. But as I said I dont remember anymore everything so I can just check my own codes to see what I did and what not.Also the LV scroll I dont need to handle extra anymore so there I dont get any flicker issues too anymore. PS: Ok,I found out how to disable tooltip in LV.Just needed to remove LVS_EX_LABELTIP for LVM_SETEXTENDEDLISTVIEWSTYLE.Now its gone. greetz
Create an account or sign in to comment