Hihi! I'm working on my awesome map editor for my RPGAnd I'm using GetCursorPos to select the tile that I want to change/edit walkability on. All is well, except I need to know one thing: How do I make the GetCursorPos API have the 0,0 coordinate start at the top left of the picturebox, rather than the top left of the screen?




And I'm using GetCursorPos to select the tile that I want to change/edit walkability on. All is well, except I need to know one thing: How do I make the GetCursorPos API have the 0,0 coordinate start at the top left of the picturebox, rather than the top left of the screen?
Reply With Quote