Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

Author Topic: Slider problem  (Read 8802 times)

0 Members and 1 Guest are viewing this topic.

microweb

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 1
    • View Profile
Slider problem
« on: April 23, 2012, 07:57:12 PM »

Hi!

I used this method:

http://www.dead-code.org/forum/index.php?board=3;action=display;threadid=215

in a "slider button".

It works with Wintermute "Standard" but it doesn´t works in WMLite: "LeftRelease" event never gets triggered.

Does anybody know why?

Thanks!

PD: Sorry for my english  :-\
Logged

Lazov

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 31
    • View Profile
Re: Slider problem
« Reply #1 on: April 04, 2019, 09:20:39 PM »

I encountered the same problem. WME Lite does not handle the "LeftRelease" event on Window widgets. I compared the WME Lite code with WME and found a commented out part of the code in AdGame.cpp. If uncomment, everything works.
Code: C++
  1. bool Handled = /*m_State==GAME_RUNNING &&*/ SUCCEEDED(ApplyEvent("LeftRelease"));
Maybe someone knows why this code is commented out in WME Lite?
« Last Edit: April 04, 2019, 09:23:14 PM by kalumb »
Logged
 

Page created in 0.042 seconds with 36 queries.