top

How to draw to screen in c++ ?

How would I draw something on the screen ? not the console window but the entire screen, preferably with the console minimised. Also, would it show up on a printscreen ? What I want to do is create something like a layer on top of the screen that only me and my aplication are aware of yet still be able to use aplications as usual. Here...

Tap Status Bar Time

I am using a UITableView in my app. After scrolling down, if I tap on the status bar time, the table is repositioned to the top. Any idea how this is done and is it possible to intercept the action. TIA, Jim B ...

Top 10 unless count is zero

This is probably easy, but eludes me. SQL server2005 I want to show top 100 but if there are not 100 only want to show those and not include zero counts in the result SELECT TOP (100) UserName, FullName_Company, FullName, (SELECT COUNT(*) FROM dbo.Member_Ref ...

How do I Scroll parent page to top when child page is click within iframe?

Hello, When someone clicks on a link within an iframe (child page), how do I get the parent page to scroll to the top? The issue is the child page will remain in the same spot of the page, because the iframe has a lot of height larger than the parent page. Please note: the parent and child pages are on different sub domains. I created...

top left and top right button

Dear Expert, I want to know How to create top left button and top right button element on a single row using css or jquery. Please kindly provide details step by step. Thanks MHB ...

How do I take the "top n" using NHibernate Criteria API?

How do I take the "top n" using NHibernate Criteria API? Ideally I'd like to use detached criteria. ...

Displaying one component on the top of other

How can I display one component on the top of another one in flex without explicitly mentioning x-axis & y-axis? ...

How to measure separate CPU core usage for a process?

Is there any way to measure a specific process CPU usage by cores? I know top is good for measuring the whole system's CPU usage by cores and taskset can provide information about which CPU core is allowed for the process to run on. But how to measure a specific process' CPU usage by CPU cores? ...

For IP Set top box - Win CE or Linux?

We are manufacturing an IP set top box in India for IPTV market. We are looking at two OS options - Win CE and Linux. Can anyone help us in selecting the best one in these two operating systems? Which one is better in terms of reliability, scalability and cost viability? ...

Linq - get top 2 records through criteria

Hi folks, i have data in following format: colA colB 2010 10 2010 20 2010 30 1999 99 I need to obtain output as follows using Linq/Lambda expression: colA colB 2010 10 1999 99 colB could be any non-99 value but t...

ScrollBot in jQuery?

$(window).scroll(function() { $('#myElement').css('top', $(this).scrollTop() + "px"); }); works great, but what if I want it fixed to the bottom instead of top? Many thanks ...

Cygwin top command - See processes for all users

Does anybody know how to see the processes for all users using top command in cygwin (part of procps library under System). I know this can be done in *nix but I am struggling in Cygwin. I have tried using pslist but it does not behave in a putty ssh console. I need to have a solution where I can see a top like dialog using ssh. I do n...

Select top statement ordering by non-unique column

I have two sql queries select * from table1 ORDER BY column1 Select top 10 * from table1 ORDER by column1 Column1 is a non unique column and table1 does not have a primary key. When I run both queries, I'm getting the rows returning in different orders. I attribute this to the fact that the criterion for ranking (the Order By) is no...

topbar of an iphone application

Hi there, Quick question! I am trying to customise the topbar of an iphone application (not a website) and I have been told that it is impossible? I have attached an example of what I am trying to achieve. At the very least is it possible to change the background colour to orange? Any advice on this would be great! Thanks in advance! ...

How can I remove the default top margin on a pdf document with itextsharp?

Hi, I´m trying to get my pdf document to start at (0,0) however it seems that the document object has a default top margin which I cannot set to 0. Is there a way to do this? My code looks like the following using (MemoryStream memoria = new MemoryStream()) { Document pdf = new Document(new Rectangle(288, 14...

Which is the actual view i can see on my iphone?

Hi.. How can a check which is the actual view i can see on my iphone? thank you! ...

HTML top and left pixal proportional growth of position

I want my page to be centered in the users screen,say with width of 800px. How do I ensure that the div tags left and top attributes adjust correctly based on the users screen resolution? ...

Opening external websites with a top bar containing "return to site" link.

In this thread user named Pekka gave me an advice to open external sites in a new window and provide a "return to site" link which would call "windows.close()" function. The problem is, that I don't know how to do such a "top bar" or something else containing the link on the site I open. Should I open the external site and write to its s...

Show form unfocused and always on top?

I am making a notification Component that will show a control box-less Form on the lower left corner of the screen. Said and done... Now I have a serious problem... The notifications should get the attention of the user but it must not interrupt his work. So I have to show the windows without focus. The inner Control(s) must not ge...

How to use .Top() with Code First

Is this possible with Code First? I could do this if I only used Entity Framework: var q = from m in context.Products .Top("0") select m; ...