dcsimg

Search:

Type: Posts; User: dreammanor

Page 1 of 13 1 2 3 4

Search: Search took 0.22 seconds.

  1. Replies
    19
    Views
    920

    Re: [VB6] Wheel Color Picker

    Hi Eduardo, I saw that your new version uses anti-aliasing algorithms, which is great.
  2. Replies
    488
    Views
    31,675

    Re: Vb6 , the Future, and what I have discovered

    It would be nice if a vbscript interpreter could be developed with pure VB6.
  3. Re: How to compress JS code to the minimum size with VB6?

    Hi techgnome, the tool you recommend is great. But my web pages are dynamically generated by my web tools, and JS code needs to change dynamically, so I need to use VB6 to write a JS minifier for my...
  4. Re: How to compress JS code to the minimum size with VB6?

    Hi Ordinary Guy, thank you for your reply. My JS code is used to process the client's web pages. As for the server-side work, I still want to use VB6 and RC5 to handle it.
  5. Re: How to compress JS code to the minimum size with VB6?

    Hi dilettante, thank you for your reply.

    I know that writing a JS parser/analyzer can solve the problem completely, and I've always wanted to do this (write a JS parser/analyzer with pure VB), but...
  6. How to compress JS code to the minimum size with VB6?

    My web pages need to call some JavaScript code, which has 10-20 thousand lines. In order to increase the speed of loading web pages, I want to compress these JavaScript code to the minimum size with...
  7. Re: How to draw a color wheel (color picker)?

    PhotoShop's color picker can adjust the colors of the color palette either by HSL, CMYK or by RGB. And I only took the RGB mode, I'll add the HSL mode in the future.

    When drawing a color wheel, if...
  8. Re: How to draw a color wheel (color picker)?

    Hi Eduardo, I'm on a business trip, I'll reply you tomorrow.
  9. Qustion 033: How to create a "two-orientation" LinearPattern?

    Qustion 033: How to create a "two-orientation" LinearPattern?

    Under Olaf's patient guidance, I can finally draw a adobe-like ColorWheel with Cario. But my method is a bit complicated, I'd like to...
  10. Re: The 1001 questions about vbRichClient5 (2019-11-07)

    Ok, I've modified my code according to your prompts. Thank you, Olaf.
  11. Replies
    19
    Views
    920

    Re: [VB6] Wheel Color Picker

    Thank you, Eduardo.

    I tested your code and it's great. There is a small problem: the color selection probe (color selection point) does not appear at the position where the mouse clicked. But it...
  12. Re: How to draw a color wheel (color picker)?

    Here is the code to draw the Color Wheel:



    Option Explicit

    Private Sub Form_Load()
    Dim ColorStops 'define the Colors the "Conical-Gradient will span and interpolate-between"
    ColorStops...
  13. Re: How to draw a color wheel (color picker)?

    Hi Olaf, your code is extremely useful. After carefully studying a few of your Cairo examples, I finally drew an adobe-like ColorWheel, although this made my brain cells died a lot. Now, I finally...
  14. Re: How to draw a color wheel (color picker)?

    Great! Thank you very much.



    Yes, I noticed that code a long time ago, but I didn't know it was wqweto's. This code is great, unfortunately, people just only saw its OutlookBar, but ignored the...
  15. Replies
    57
    Views
    781

    Re: Question on refreshing data

    I've been using RC5 under XP for several years and it works very well. Yes, you need to include the RC5 Dlls in the application path in both the client and server
  16. Re: The 1001 questions about vbRichClient5 (2019-11-07)

    Much appreciated, Olaf. I've used the latest RC5 dll and the problems are completely solved.

    In addition, in the design window of the VB6 IDE, right-click on a control, and the control is also...
  17. Re: How to draw a color wheel (color picker)?

    Eduardo used several different DrawWidths (1, 3, 4, 6) when drawing Color-Wheel. But I have tested that if setting DrawWidth to 3, the same effect can be achieved.
  18. Re: How to draw a color wheel (color picker)?

    Wonderful! Your color picker seems to be the best solution. I originally wanted to use Cairo to rewrite your Color Picker, but my Cairo skills are so weak that I can't get the job done.

    I'd like...
  19. Re: How to draw a color wheel (color picker)?

    Hi reexre, thank you for your reply. Cairo can always achieve very cool effects. But I don't know why, I can't understand Cairo. I've already studied the code of you, Olaf and ColinE66, but I still...
  20. Re: How to draw a color wheel (color picker)?

    Great ! Your demo is very close to my original idea. Thank you very much, Elroy.



    Hi, Eduardo-, I tested SetPixel, if I use SetPixel, Color-Wheel does have white spots, I don't know why.
    ...
  21. Re: How to draw a color wheel (color picker)?

    I found a similar example to the Adobe Color Wheel:
    ART2GUI - A tribute to the VISUAL in VB6 by Light Templer

    In this example, you can also use the mouse to drag control points to change the...
  22. Re: How to draw a color wheel (color picker)?

    Hi Eduardo, I'm sorry that I have used a vague and inaccurate word. What I mean by "double buffering" is to first draw the image in a memory DC and then copy it into the PictureBox.
  23. Re: How to draw a color wheel (color picker)?

    Hi Elroy, your knowledge is very profound, I admire very much. I want to make a Color-Picker that is different from VSCode's (see the image below), so I want to use Color-Wheel instead of VSCode's...
  24. Re: Qustion 032: A very interesting Color-Wheel from Adobe

    Ten years ago, I spent a lot of time researching the drawing skills of vb controls, and also collected a lot of very good code, but I haven't developed owner-draw /custom-draw controls for a long...
  25. Re: How to draw a color wheel (color picker)?

    Hi Eduardo, I tested your code, which is great, it's very close to a smooth Color-Wheel. I wonder if there is an API faster than UserControl.PSet. Also, if using a double buffer to draw color points,...
  26. Re: How to draw a color wheel (color picker)?

    Hi Elroy, I want to re-develop a Color-Wheel because the commonly used Windows color picker is too complicated (three colors change at the same time). IMO, Color-Wheel + Slider can make things a bit...
  27. Qustion 032: A very interesting Color-Wheel from Adobe

    Qustion 032: A very interesting Color-Wheel from Adobe

    I found a very interesting Color-Wheel, which is as creative as ColinE66's Color Picker. I put it here for reference by other Cairo...
  28. Re: How to draw a color wheel (color picker)?

    Please see the picture I posted in post #20.
  29. Re: How to draw a color wheel (color picker)?

    I found a very interesting Color-Wheel from Adobe.

    Adobe Color Wheel

    Note:
    Please use the mouse to drag the 5 small rings in the Color-Wheel.
  30. Re: How to draw a color wheel (color picker)?

    Thank you, SamOscarBrown.



    Hi LeandroA, I checked your code, it's very good, thank you!



    Hi Eduardo-, I tested your code and it worked well, thank you. Elroy's ColorWheel is smooth, and...
  31. Re: How to draw a color wheel (color picker)?

    Hi jpbro, thank you for your suggestion and reminder. I noticed the copyright statement of PhotoDemon. I have never used Tanner's code, but I admire Tanner's contribution to the VB open source...
  32. Re: How to draw a color wheel (color picker)?

    Hi @Elroy, the information and code you provided is very useful, thank you very much. My idea is this, splitting the Color-Wheel that you showed at the end of post #13 into two parts: an outer bright...
  33. Re: How to draw a color wheel (color picker)?

    Thank you, SamOscarBrown. The control you recommend is good, but its style is classic. I need a clean, flat Color-Picker. I plan to develop one similar to VSCode's based on ColinE66's control.
  34. Re: How to draw a color wheel (color picker)?

    Yes, I'm learning your control, which is very creative and very powerful. Thank you very much, ColinE66.

    Now, I'm thinking about how to simplify it:
    (1) Remove cwSlider.
    (2) Remove Basic...
  35. Re: How to draw a color wheel (color picker)?

    Yes, I tested the code in post #7 and post #9. Its speed is improved by sacrificing the resolution of the graphics, that is, the drawn graph is not a smooth concentric circle, but a concentric circle...
  36. Re: How to draw a color wheel (color picker)?

    Hi Zvoni, the information you provided is exactly what I need, thank you very much!

    But its drawing speed is really too slow, I need to study how to improve its drawing speed.
  37. [RESOLVED] How to draw a color wheel (color picker)?

    Does anyone know how to draw a color wheel similar to the one below? Thanks!
  38. Qustion 031: An error occurred while deleting a control in the FormDesigner

    Qustion 031: An error occurred while deleting a control in the FormDesigner

    (1) Select one of the controls in the FormDesigner and click the Remove button to delete the selected control. Then,...
  39. Re: [RESOLVED] How to get the coordinates of the api after dragging the form

    Hi passel, thank you for your reply. I mistakenly thought that OP wanted to drag a form through the form title bar.

    Here's another way, which calculates the coordinates of the form as the mouse...
  40. Re: [RESOLVED] How to get the coordinates of the api after dragging the form

    Where is the dragging operation?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width