This still won't save me from typing "AS udt" Sigh.
On a serious note, would this addition lead to a method to minimize the launch event of an app, so we never have to see that launch window flash on our screens?
Pete :D
QB64 Windows users can restore from a "icon" (minimized to the task bar) using Windows API calls.
Pete
Well the only push back I see, although others may have different objections, would be the minimization and showing the screen are two different processes. Sure, it seems silly to "hide" a minimized screen, you can't view it anyway, but will others see it that way, too? Please note that the _SCREENHIDE command also hides the taskbar icon.
Two statements. That sounds reasonable. But removing the six older statements will affect the backward compatibility of older QB64 programs.
if (func_screenicon)
that doesn't sound right.Code: [Select]if (func_screenicon)
that doesn't sound right.
Also please get your indentation right.
void sub__screenshow(){
if (!window_exists){
create_window=1;
}else{
#ifdef QB64_GLUT
glutShowWindow();
#endif
}
screen_hide=0;
}
This would be much easier if you made a merge request.
This would be much easier if you made a merge request.
If you guys want this pushed into the repo, decide how you want it, and then feel free to implement whatever syntax suits you the best.