Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0

SteamOverlay Active/Inactive

Go to solution Solved by gamecreator,


13 answers to this question

Recommended Posts

  • 0

I created a class specifically for steam callbacks;


class cSteamCallbacks
	STEAM_CALLBACK(cSteamCallbacks, _onGameOverlayActivated, GameOverlayActivated_t);

	bool steamOverlayActive = false;

void cSteamCallbacks::_onGameOverlayActivated(GameOverlayActivated_t * pCallback)
	if (pCallback->m_bActive == 1) {
		steamOverlayActive = true;
	else {
		steamOverlayActive = false;

cSteamCallback* steamCallback = nullptr;

bool _steamSuccess = Steamworks::Initialize();
if (_steamSuccess == true) {
	steamCallback = new cSteamCallback();

if(steamCallback->steamOverlayActive == false){
	//Update mouse interaction


  • Like 2
  • Upvote 1
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...