Hi Jeff, I just thought myself that I have to test subclassing the listview. But you beat me. Thank you! I will study your example. Now I know what to do. ...
Ah, I answered too soon, Jeff. I just realized that you hacked the notify handling to get the desired behaviour. Strange... Have you also compiled and linked...
Yes, definitely a hack. As usual, my code isn't pretty, but it does what I want. :) This actually was compiled and linked with both Pelles and LCC. I also...
I took some time to figure this out...and then I noticed the link in your original post to the PB code. :) Anyway, this works without any hacks. The key is...
... This is a bit confusing to me. Wouldn't CallWindowProc() be the FUNCTION return no mater what? Shouldn't there be an EXIT FUNCTION before leaving the CASE...
Great, and thank you for good example. I have had no time this week. :-( Now I have hacked your code to see if it is possible to detect a single column. I...
In C, anything after a 'return39; is dead code. In ScriptBasic and every other Basic I've used, RETURN follows structure. FUNCTION Test(arg) IF arg = 1 THEN Test...
I thought I would try the same test with BaCon. FUNCTION Test$(NUMBER arg) IF arg = 1 THEN RETURN "One" END IF RETURN "Default" END FUNCTION PRINT Test$(1) ...
Some days ago Jeff provided an example how we can prevent in a listview control the changing of the column width by dragging the header dividers. Thanks Jeff! ...
Andreas, Your original code didn't crash here, but I moved the If Locked inside the test for iItem =1 test and it works as expected. Ian CALLBACK FUNCTION...
Ian, thank you for testing. I wanted to know , rather, how the function CALLBACK FUNCTION LV1HDR_Proc() needs to be changed. In this function I would like to...
Hi all, today I have successfully build an example of how to lock only a single listview column. Hurray! As I said I modified Jeff's example (for locking the...
Looks good! I suggest a few changes to simplify the code, but they are just suggestions. :) The callback function already has the handle to the header control...
FYI the Help File Select Case example 2 translation is incorrect. James '------------------------------------------------------------------------------ Bcx...
BCX Help Version 6.9.9, May 11 2013 is available as BCXHelp.chm in the directory http://tech.groups.yahoo.com/group/BCX/files/BCX_Help_Files/ Changes include ...
Robert, It is probably not worth the effort but none of the MSG_HANDLER code works after 6.22 due to the change in Select Case. Also In the BEGIN EVENTS END...
Robert, If you remove the Select Case in the BEGIN EVENTS form1Proc all seems to be well. Well not quite for me as I changed LOCAL so LOCAL needs to be changed...
Another follow up. It compiles fine with 6.22 and 6.99 but is it working correctly? The two Form selection buttons just produce a rectangle in the bottom...
Ok. I think I finally have this figured out :) The help file code uses a redundant line that I took literally when testing with bc9. bc9 treats all LOCAL and...