disable

How to make an edit box disapper at runtime (NOT gray) in MSVC 2008 using MFC ?

I want to make an EditBox disappear completely when the user selects a particular iption, instead of just graying it out. I tried using EnableWindow(false), but that just grays it out. I want the user to not see the control at all...can anyone help, or is this not possible in MSVC 2008 ? ...

Disable workflow on sharepoint 2007 lists

At this moment every image which is uploaded to sharepoint has to run through the complete workflow before being shown to a end user. This is not wished behaviour. What we like to approach is that an uploaded image is accessible directly to the end-user, without workflow or even approval action. Is this possible, and if so, how? ...

turn off delphi exceptions in run time in delphi

hi is there any way to turn off exception message showing during run-time in Delphi application? i think there must be a directive to turn off exception message but i cant remember it. ...

Android: Disable highlighting in GridView

Hello, after searching for more than 3h in den the docs and testing I have to ask this question: how can I turn off the orange highlight, when clicking on an item in a GridView? Thx ...

jQuery - disable selected options

Need to disable already selected options in select box using jQuery. I'd like it to grey out like asmselect. Test my example here. //JS $("#theSelect").change(function(){ var value = $("#theSelect option:selected").val(); var theDiv = $(".is" + value); theDiv.slideDown().removeClass("hidden"); }); $("div a.remove").c...

Temporarily disable constraints (Sybase)

Is there the way to temporarily disable checking of foreign keys, check constraints and rules for some table in Sybase? ...

Manually abort GPS updating in Android

Hey Guys, I receive updates from my GPS in this way: lm.requestLocationUpdates(LocationManager.GPS_PROVIDER, 5000, 0, locationListener); In my onLocationChanged(Location loc)-method I want now to abort updating GPS data by specific criteria... So how can I undo/disable the requestLocationUpdates(...) ? Nice greetings, poeschlorn ...

How do I disable Xcode static analysis (Clang) messages?

I'd like my Xcode project to go through a Build And Analyze step without generating any errors, warnings, or static analysis messages. A problem with this is that my project includes libraries that generate (possibly innocuous) warnings and static analysis messages. I can't find a way to disable specific Clang warnings so that "my" code...

Hidden controls, iframes or divs

What happens to the controls or the iframe or the div, which are hidden? Do they get transferred to the user side? Disabled: does it get transferred to the user side? What I want is, an aspx page will be having many iframes to display different pages. There will be many div tags to display CSS formatted information. To understand wh...

Displaying Map ONLY when the button is clicked in Xcode

Hi, I am developing an iPhone application using XCode and I am kinda stuck with the functionality described in the subject of this post. I want the map(using MapKit) to only load and display after I click a button. So, what code should I have under that my "(IBAction) showMap" function? Whatever I could find online talks about unhidin...

Disabling input's whith jQuery not working

Hi, I am trying to disable some inputs using jQuery 1.4.2, This is a part of the HTML code: <input type="text" disabled="disabled" name="nume" value="Text" /> And jQuery: $('.salveaza').live('click', function(e){ $.get(ajaxURL, $('form', itemCurent).serialize()+' // This is the code for disabeling inputs ...

Silverlight Control Disable/Remove Events

I have a scenario where a control has an event wired up in XAML, say a Button.Click. Somewhere else in my code, a security check is applied which mean I need to disable said event, but I do not have access to the normal -= syntax to remove it. How else can I remove or disable this event? Thanks, Dave ...

How to disable Safari Reader in a web page

I'm curious to know more about what triggers the Reader option in Safari and what does not. I wouldn't plan to implement anything that would disable it, but curious as a technical exercise. Here is what I've learned so far with some basic playing around: You need at least one H tag It does not go by character count alone but by the nu...

Jquery tabs enable tab?

I am trying to enable a disabled tab in Jquery but it doesn't work I have my tabs: <!--Jquery AJAX Tabs Start--> <div id="signuptabs"> <ul> <li><a href="type.php"><span>type</span></a></li> <li><a href="ber.php"><span>mber</span></a></li> <li><a href="ces.php"><span>ces</span></a></li> <li><a hre...

disable sunday in asp.net calender

How to disable Sunday in asp.net calendar control? I am using C#. ...

SSRS - disabling Export functionality based on User

Hello....I have a report in SSRS that needs to disable the "Export" functionality based on who the User is. Is this do-able? And, is it possible to disable all Export options except the PDF option Thanks Mike ...

iText Java disable print pdf

Hi Gurus, We are using the following code to disable Print option in PDF. Works really well. PdfReader reader = new PdfReader("my-old-file.pdf"); PdfStamper stamper = new PdfStamper(reader, new FileOutputStream("my-new-file.pdf")); stamper.setEncryption("my-owner-password".getBytes(), "my-user-password".getBytes(), PdfW...

WPF RichTextBox - Disable input on certain paragraphs.

Hi, I would like to be able to stop the user from modifying certain portions of text in my WPF RichTextBox. To do this, I am handling the PreviewKeyDown event and setting the Handled property to true so that no further processing takes place. The problem with my approach is that navigation keys are also disabled. I know that I could de...

Disable SMS in Android

Hey, I'd like to include a feature in my application that would include a running background service that would disable SMS, if certain conditions were met (location for instance). Is there a way I can intercept the user wanting to open any SMS app and block it? Would a Broadcast Receiver be able to do the trick? Maybe a different way ...

How to disable mouse left click?

Hi, I want to disable mouse left click. I use the following script but not work. <h:form> <a4j:commandButton value="TestButton" onclick="alert('button cliked')"/> </h:form> JavaScript is : <script type="text/javascript"> document.captureEvents(Event.MOUSEDOWN | Event.MOUSEUP | Event.CLICK); document.onmous...