PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Question about double click tap

Hi !
Anybody knows, why in Game::Init() in window style not using CS_DBLCLKS ?

Code:

bool Game::Init()
{
..........
m_bSuspended = false;
//GetWndClassInfo().m_wc.style &=~CS_DBLCLKS;
GetWndClassInfo().m_wc.style = CS_HREDRAW | CS_VREDRAW;
..........


Or how made dbl-click event at PocketFrog-based application ?
PocketFrog doesn't have the concept of "double clicks". It is a library meant for game development. But if you need it, just add it.
Kzinti wrote:PocketFrog doesn't have the concept of "double clicks". It is a library meant for game development. But if you need it, just add it.


You did'nt answer my question.
I can add to window options CS_DBLCLKS and add handler for double click. But i not understand correctly why double click support not included in to library ?
Support CS_DBLCLKS is broke some functionality or what ?
I did answer your question: I didn't do anything about double clicking in PocketFrog. Just make the changes you need.