Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to hide the top title bar #61

Open
aniketkatoch opened this issue Feb 5, 2025 · 5 comments
Open

Unable to hide the top title bar #61

aniketkatoch opened this issue Feb 5, 2025 · 5 comments

Comments

@aniketkatoch
Copy link

aniketkatoch commented Feb 5, 2025

Image


I am using codeblocks . I want to hide this in the .exe file that is generated by the code blocks.
Please help me in creating full screen mode.
@kisvegabor @YobeZhou @100ask

@YobeZhou
Copy link
Contributor

YobeZhou commented Feb 7, 2025

Modify lvgl\src\drivers\windows\lv_windows_display.c

static unsigned int __stdcall lv_windows_display_thread_entrypoint(
    void * parameter)
{
    lv_windows_create_display_data_t * data = parameter;
    LV_ASSERT_NULL(data);

    //DWORD window_style = WS_OVERLAPPEDWINDOW;
    DWORD window_style = WS_POPUP;
    ...
}

@aniketkatoch
Copy link
Author

Image

Thanks for your help still
One border is coming of white colour all side.
Please Help

@YobeZhou
Copy link
Contributor

YobeZhou commented Feb 8, 2025

Image

Thanks for your help still One border is coming of white colour all side. Please Help

static unsigned int __stdcall lv_windows_display_thread_entrypoint(
    void * parameter)
{
    lv_windows_create_display_data_t * data = parameter;
    LV_ASSERT_NULL(data);

    //DWORD window_style = WS_OVERLAPPEDWINDOW;
    DWORD window_style = WS_POPUPWINDOW;
    if(data->simulator_mode) {
        window_style &= ~(WS_SIZEBOX | WS_MAXIMIZEBOX | WS_THICKFRAME);
    }

    HWND window_handle = CreateWindowExW(
                             WS_EX_LEFT,
    
    ...
}

@aniketkatoch
Copy link
Author

Sir that white border still visible in all side .Help me to remove it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants