I am using Infragistics UltraWinGrid from NetAdvantage for Windows Forms v10.3 . If there are a lot of rows and I execute UltraWinGrid.ActiveRowScrollRegion.ScrollRowIntoView(), then it scrolls really slow. Is there a way of how to speed up the scrolling? Perhaps there is a way to set the scroll speed?
I've tried to post this question on Infragistics forums, but the "new post" button is disabled for WinForms section. Probably it is enabled only for subscribed users.
Right now I am using UltraWinGrid.ActiveRowScrollRegion.ScrollPosition = UltraWinGrid.Rows.IndexOf(row) which scrolls instantly, but that is not very user-friendly because it is hard for the user to notice what is going on. I would prefer real scrolling.
Related
So im building a basic win32 GUI app and I have a vector of data that gets constantly updated through an external source via a port. Im interested in displaying that list of data to the user but im not sure the best approach to go about it without causing update flickering.
I originally had an edit box in which I build a string with the information and update the window. But it has proved troublesome as the amount of data grows since I cant scroll down to look at additional data. Any ideas?
My idea is no point of updating the visual control as the same speed you receive the data. Because even-though you update at the same speed the users cannot see that change at the speed of data receiving. Human eye does not see a change happening in speed as 1/8th of a second. So better to update the visual control in a controlled manner. Maybe using a timer.
Appending to the text of an edit control for each subsequent data point will lead to flickering as the whole control re-renders as the text has changed.
I'd advise one of the following options:
1) use a ListBox or ListView control; when you add another row item, it only re-draws the new/changed/scrolled item. https://learn.microsoft.com/en-us/windows/desktop/controls/create-a-simple-list-box and https://learn.microsoft.com/en-us/windows/desktop/controls/list-view-controls-overview
2) If you only want an always-scrolling list of data, consider just having a command-line application that writes to the standard output and saves you a lot of trouble - cout or printf your data.
You can also use EM_SETSEL and EM_SCROLLCARET to automatically scroll, but also check the position of the scroll bar before doing that. If not at the bottom, it means that the user wanted to pause, so you can scroll.
Also, you can have the scroll lock key checked in order whether to scroll or not, after all that is what it's name is supposed to do.
Is it possible to capture OnClick event when the CheckBox is disabled and then, to display a tooltip that shows why it is so (based on some business requirements)?
I looked up many sources over the internet, but I was able to find the answer to the second part of the question, not tested though. It seems to be a well-known problem, but I cannot find any answer or a hint.
I have to say that I am not a master of MFC, so a small code snippet would be appreciated.
https://developers.facebook.com/docs/sharing/reference/share-dialog VS https://developers.facebook.com/docs/plugins/share-button
In experimenting with both the FB.ui share dialog and using the fb:share-button / class="fb-share-button" I've noticed that using the FB.ui method does not offer sharing options (Share on your timeline, friends' timeline, etc) in the dialog and the og:description is not displayed on the FB post (yet it is in the post preview) and markup formatting for the display is different. It's obvious that both methods are using two different services:
FB.ui: .../v2.0/dialog/share... and Share Button: .../sharer/sharer.php?...
One would think that by leveraging the JavaScript SDK a developer would have more options to customize the sharing experience, but in my experience thus far, that doesn't seem to be case.
Yes, I've run my links through the linter, my open graph tags are set properly and I've added the "scrape=true" to my query string.
At the very least, I'd hope that the og:description would get displayed on a FB post by leveraging the SDK and that the formatting would be the same. Any validation of this behavior and workarounds?
Same problem here; plus the share count on the url is not updated if shared with the share dialog; it is if it's done using the share button.
pretty weird, a bug maybe?
Not sure why but I am not seeing the 'Applications' folder under 'Content'. All the tutorials out there mention editing the (/sitecore/content/Applications/WebEdit/Custom Experience Button) items to accomplish what I need.
My guess is I don't have view access to the core database in order to see these items or folders? If this isn't the case, how would I go about finding these buttons? Any help appreciated and I apologize if I didn't provide enough info but my goal is to add features to the page editor component toolbars.
To make this a formal answer...
First, login to desktop mode (on login screen, select "Desktop" from "Options" expander below form). Next, change database to core at bottom right:
Finally, re-open your content manager and you should see the /sitecore/content/Applications node.
Are you able to customize the appearance at all on the first two screens of Google Glass?
1) The Home screen card with time and "ok glass".
2) The Menu Item card with "ok glass," and a list of available voice actions.
For example, add an image, background image, remove the time, or add additional text. Or maybe put a custom view we create in front of everything.
I'm not looking to change the functionality, just the look and feel.
If not, are there any plans to allow this in the future?
Thanks!
It is not possible to change any of those screens. And I don't believe they will add the ability in the future. But we never know with Google, maybe in the future.
You can always make a feature request here:
https://code.google.com/p/google-glass-api/