Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this question
I was trying to move the search box into the top menu bar and the result was: fatal error :(
I mean: top menu with categories and at the end of them, the search box.
So, would somebody help me step by step how to do that without dying in the attempt?
Since the menu bar (main navigation) and search box are both located in catalog/view/theme/<YOUR_THEME>/template/common/header.tpl You do not need to follow any articles regarding how to display and make work the search box in different module positions (content_top, column_left, etc).
All You need to do is to open up the mentioned template file in a text editor (or Your IDE) and cut off the code for search box and paste it into the div, where the menu resides. Play with CSS until it meets Your needs. Done.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 months ago.
Improve this question
I want to create an application using MFC that mainly runs in background, and show the system cpu usage on the taskbar just like the system date in the taskbar shown in the below.
Key feature is:
an icon in the taskbar;
change the words or info intervally.
How to implement this?
There are public APIs you can use to display yourself in the taskbar:
Shell_NotifyIcon to create a "tray" icon. You can update the icon as often as you want. This is what Task manager does.
Taskbar toolbar (IDeskBand). This lets you create a much larger surface in the taskbar. Currently not supported on Windows 11.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
This is regarding the C/C++ language ->
Is there some kind of Windows API that checks if a given position on the screen is clickable? For example, the windows icon on the bottom left, the red X on the top right of a program, or maybe the "enter" button in a web browser's search engine.
This sounds a bit complex, but maybe through IPC there's a way to do something like this? Thanks!
EDIT: By clickable, i mean anything you can associate with / interact with.
Almost anything on screen is clickable (except things that hit-test as HTERROR, HTNOWHERE and HTTRANSPARENT).
The sane approach is to use UI Automation/MSAA. Call WindowFromPoint, ChildWindowFromPoint or RealChildWindowFromPoint to get a HWND and then call AccessibleObjectFromWindow to get a IAccessible interface and call accDoDefaultAction.
A less sane option is to use WM_NCHITTEST to figure out what the mouse is over and send some fake WM_NCLBUTTON* messages.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to create Custom Grid which shall have inline edit feature, Checkbox, Radio button and Images.
I came across very good article << http://www.codeproject.com/Articles/8/MFC-Grid-control;
Here DrawFrameControl is used to draw Check box and Radio Button
I have a requirement to customize the look and feel of check box.
Is it possible to customize DrawFrameControl's or is a good idea to create custom control (check box and radio button)?
Will there be any performance issue in case of custom controls?
Regards,
Sanjay
No. You can't customize DrawFrameControl. It uses the system standard to draw the control.
If you need to customize it you have to draw the items by yourself. But using an image list it shoudn't be complicated to. Using CImageList is well documented everywhere ...
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
How I can remotely control a GUI program using winapi?
I need to open skype or icq and click on the right contact and then read the last message. There's a program in VS spy++, but if you want to trace window messages, you need to remotely control spy++. So the problem is how can you remotely control a program and the other thing, where can you find application codes.
The White framework hides a lot of the details of UI automation, and you may find it easier to use than raw UI Automation.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
i am using QPrinter to create report and embed in the qt application. there is no issue in creating report, but display is the issue.
when i am scrolling the report the display problem is coming. please have look at the Image.
see the Notes Text.if i press CTRL and scroll then this is not coming. how to fix this.
i found the solution.
actually i used semi transparent color for the text.
painter.setPen(QPen(QColor(40,40,40,200),3,Qt::SolidLine));
after i removed and change into solid color, it's fixed
painter.setPen(QPen(QColor(140,140,140,255),3,Qt::SolidLine));
Thanks...