Search:

Type: Posts; User: dilettante

Page 1 of 13 1 2 3 4

Search: Search took 0.89 seconds.

  1. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Face it, you won't accept any input that doesn't feed your political narrative. For example you missed my entire point about the case of South Korea that was raised. South Korea is not like you,...
  2. Replies
    10
    Views
    260

    Re: Indirect calling of routines

    The fundamental thing about classes are that they wrap data and "state" with invokable "behaviors" that act upon and return the data and cause changes in state.

    Sort of like a UDT, but with...
  3. Replies
    10
    Views
    260

    Re: Indirect calling of routines

    This is perfectly understandable.

    The classic approach was to separate the giant procedure into a smaller one making calls to smaller separate procedures. That was later supplemented by using...
  4. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Don't try to pretend there is some magic in "testing and tracing" because there is not. What South Korea did was test, trace, isolate, and when necessary incarcerate.

    Being a relative monoculture...
  5. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    I think you are reading things into what I've said.

    I take it quite seriously. I just don't buy the argument that we've made worse decisions than the rest of the planet and we're far worse off. ...
  6. Replies
    10
    Views
    260

    Re: Indirect calling of routines

    You could do it, but why? It's ugly, a mess, clumsy to maintain, and inefficient.

    Probably better to write one "Edit" procedure and use Select Case or something where needed.

    I can't see it...
  7. Replies
    25
    Views
    593

    Re: IPicture interface methods

    Well that would be another argument against updating OLE to handle PNG rendering via AlphaBlend(). Not enough controls would respect it anyway, limiting its value. Perhaps "wrapping a PNG as an...
  8. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    The U.S. as a whole hasn't done particularly well, it just isn't the extreme outlier failure the media here make it out to be for electioneering reasons.
  9. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    For the love of Hillary,

    179162

    Somebody throw a bucket of chocolate ice cream on me!
  10. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Makes you wonder what they're doing with all of that vacant office and supporting space. Filled with servers? Or warehousing all of the toilet paper?
  11. Replies
    25
    Views
    593

    Re: IPicture interface methods

    But can you use them for anything valuable in a real program?

    Is there some way to stuff them into an ImageList? Assign them to MSHFlexGrid.CellPicture? CommandButton.Picture? MDIForm.Picture? ...
  12. Replies
    25
    Views
    593

    Re: IPicture interface methods

    IPicture is a hidden interface for a reason.

    Most of its useful members are exposed by the default interface of a StdPicture object. The rest are mainly meant for internal use by ActiveX controls.
  13. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Another voice of reason:


    https://www.youtube.com/watch?v=ShvfAmlguC0
  14. Replies
    25
    Views
    593

    Re: IPicture interface methods

    Point taken.

    I guess it was more than a bit of a rant. Extending OLE to handle PNG and AlphaBlend should have been easy for Microsoft though. I can't do anything about it so I just work around...
  15. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    There is nothing to be lost by being cautious as long as you don't let it drive you into poverty.

    Some people can move to work-from-home. Others have to rely on cutting back on spending and...
  16. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    If you want to know where we are going you have to look at trends in new cases, not past aggregates.

    As for China:

    Life after lockdown: has China really beaten coronavirus?



    So as we've...
  17. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Clearly John is both an idiot and a Russian spy, but for those not blinded by political propaganda he reiterates a hopeful outlook today:


    https://www.youtube.com/watch?v=awc0bN07Aac
  18. Replies
    25
    Views
    593

    Re: IPicture interface methods

    This example uses GDI+ to load a PNG file as a GDI+ bitmap then convert that to a GDI bitmap. Afterward its Render() method can be used to AlphaBlend() it onto a "canvas" object like a Form or...
  19. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    My point was that the media is currently selling the line that "There is no hope, no immunity" when that is very unlikely to be true.

    They easily dupe the uninformed public by pointing at things...
  20. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    The other thing we don't get is perspective, as in:


    179153

    But of course that's garbage too, since it wasn't delivered by a corporate news actor reading prepared lines off a monitor.
  21. Replies
    150
    Views
    3,972

    Re: Presidential Debates

    More debate news, though most of it backs up into the primaries:


    https://www.youtube.com/watch?v=-mRH2lePYws
  22. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Despite the best efforts of neoliberals to set your hair afire again of late, there is some hopeful news:


    https://www.youtube.com/watch?v=7IYHZX8kWpM

    Great news for herd immunity, whether...
  23. Replies
    25
    Views
    593

    Re: IPicture interface methods

    The IPicture is just one interface exposed by a StdPicture object. Interfaces don't exist separate from their implementations. StdPictures do not have an hDC at all, they only wrap around an image...
  24. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Oh well, until something happens I suppose we'll all be stuck home watching Uncle Roger weejios.
  25. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Dr. John Campbell posted a video today that went over some studies related to one vaccine under testing and refinement.

    While there is some doubt (and there always is) he holds some hope. While...
  26. Re: vb6: how use an user type parameter on a class function\sub?

    Sure, it seems a bit crazy. ;)

    But look at what you get in most of the libraries designed for VB6 use, both DLLs and OCXs. They almost never provide structs but provide class wrappers instead.
    ...
  27. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    The bobbleheading can lead you astray. Stop watching corporate media uncritically.


    Herd immunity does not cause deaths but exactly the opposite, it saves lives.

    Vaccination is all about...
  28. Re: vb6: how use an user type parameter on a class function\sub?

    Well, there are games you might play. For example:

    POINTL.cls

    Option Explicit

    'Mark as VB_PredeclaredId = True using a text editor.

    Private Type tagPOINTL
    X As Long
  29. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    No. It rotates around the Z axis in the XY plane only. At least as far as I can tell.


    https://www.youtube.com/watch?v=C8oiwnNlyE4
  30. Replies
    1,549
    Views
    67,596

    Re: Corona virus, China major city lockdowns, etc.

    Biden's warning about a "dark winter" was clearly talking about the scenario where he wins the election.
  31. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    Yeah, here is a test with multiple images drawn rotating in an animated fashion. There is clearly some flicker, so optimization might be needed for a real program. For example a single canvas...
  32. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    Again, I'm just winging it here, but rotation seems simple enough.


    Option Explicit

    Private Sub Form_Load()
    Dim ColorMap(5) As Long

    ScaleMode = vbPixels
    AutoRedraw = True
  33. Replies
    8
    Views
    386

    Re: xmlhttp async problem

    I'm not sure that will help because you will have to set or verify the attribute in your own programs. Small edits can easily wipe it out.

    Did you create a class named SinkRSChange?
  34. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    ColorMap() is an array of pairs of ARGB colors, each pair being "old color" and "new color" to substitute.

    Not sure why you want to pixel-fiddle. I thought you wanted fast.
  35. Re: VB6: GDIPLUS - how change pixels colors on a faster way

    Well, one obvious way is to use GdipSetImageAttributesRemapTable():


    Option Explicit

    Private Sub Form_Load()
    Dim ColorMap(5) As Long

    ScaleMode = vbPixels
    AutoRedraw = True
  36. Replies
    8
    Views
    386

    Re: xmlhttp async problem

    A problem with MSXML is that the bonehead parts of it were optimized for use from JScript. As a result you have to simulate JScript event binding in VB6.

    Form1.frm

    Option Explicit

    Private...
  37. Replies
    1
    Views
    156

    Re: GET ROW AND COLUMN INDEX in listview

    Use the MSHFlexgrid instead. I know many of the pirated copies of VB6 out there lack many of the best controls, but that's no excuse.
  38. Replies
    5
    Views
    246

    Re: Printing a Form

    PrintForm was meant for printing "screenshots" to be filed as documentation, nothing else.

    Generally you would choose a low printer resolution (like 100dpi) in order to fill more of the page. ...
  39. Replies
    2
    Views
    138

    Re: Wait for webbrowser to load

    Look up the DocumentComplete event.
  40. Replies
    13
    Views
    404

    Re: Synchronous processing?

    I'm pretty sure the question is seeking ways to write blocking code without tying up the UI thread.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width