6DReality

New Member
Joined
Sep 20, 2017
Messages
1
Hi, I am trying to plot a Mandelbrot using "gdi32" library function SetPixel after setting 1DC = GetWindowDC(0)
Seems to work initially but the Excel window seems to reset/refresh halfway through the plot and either stops plotting or the completed portion of the plot disappears completely.
I tried using Application.ScreenUpdating = False but no success.
Grateful for any suggestions
 

Some videos you may like

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

mole999

Moderator
Joined
Oct 23, 2004
Messages
10,516
Office Version
  1. 2019
  2. 2016
  3. 2013
Platform
  1. Windows
I'm not sure of the pixel plotting limit, needs to be checked and see if you might exceed the limits ?
 

Watch MrExcel Video

Forum statistics

Threads
1,108,943
Messages
5,525,771
Members
409,663
Latest member
littleriver

This Week's Hot Topics

Top